Class DigestSignatureSpi
java.lang.Object
java.security.SignatureSpi
org.bouncycastle.jcajce.provider.asymmetric.rsa.DigestSignatureSpi
- Direct Known Subclasses:
DigestSignatureSpi.MD2
,DigestSignatureSpi.MD4
,DigestSignatureSpi.MD5
,DigestSignatureSpi.noneRSA
,DigestSignatureSpi.RIPEMD128
,DigestSignatureSpi.RIPEMD160
,DigestSignatureSpi.RIPEMD256
,DigestSignatureSpi.SHA1
,DigestSignatureSpi.SHA224
,DigestSignatureSpi.SHA256
,DigestSignatureSpi.SHA3_224
,DigestSignatureSpi.SHA3_256
,DigestSignatureSpi.SHA3_384
,DigestSignatureSpi.SHA3_512
,DigestSignatureSpi.SHA384
,DigestSignatureSpi.SHA512
,DigestSignatureSpi.SHA512_224
,DigestSignatureSpi.SHA512_256
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
Fields inherited from class java.security.SignatureSpi
appRandom
-
Constructor Summary
ModifierConstructorDescriptionprotected
DigestSignatureSpi
(ASN1ObjectIdentifier objId, Digest digest, AsymmetricBlockCipher cipher) protected
DigestSignatureSpi
(Digest digest, AsymmetricBlockCipher cipher) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
engineGetParameter
(String param) Deprecated.protected AlgorithmParameters
protected void
engineInitSign
(PrivateKey privateKey) protected void
engineInitVerify
(PublicKey publicKey) protected void
engineSetParameter
(String param, Object value) Deprecated.replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)protected void
protected byte[]
protected void
engineUpdate
(byte b) protected void
engineUpdate
(byte[] b, int off, int len) protected boolean
engineVerify
(byte[] sigBytes) Methods inherited from class java.security.SignatureSpi
clone, engineInitSign, engineSign, engineUpdate, engineVerify
-
Constructor Details
-
DigestSignatureSpi
-
DigestSignatureSpi
protected DigestSignatureSpi(ASN1ObjectIdentifier objId, Digest digest, AsymmetricBlockCipher cipher)
-
-
Method Details
-
engineInitVerify
- Specified by:
engineInitVerify
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineInitSign
- Specified by:
engineInitSign
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineUpdate
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineUpdate
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineSign
- Specified by:
engineSign
in classSignatureSpi
- Throws:
SignatureException
-
engineVerify
- Specified by:
engineVerify
in classSignatureSpi
- Throws:
SignatureException
-
engineSetParameter
- Overrides:
engineSetParameter
in classSignatureSpi
-
engineSetParameter
Deprecated.replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)- Specified by:
engineSetParameter
in classSignatureSpi
-
engineGetParameter
Deprecated.- Specified by:
engineGetParameter
in classSignatureSpi
-
engineGetParameters
- Overrides:
engineGetParameters
in classSignatureSpi
-