Class ISOSignatureSpi
- java.lang.Object
-
- java.security.SignatureSpi
-
- org.bouncycastle.jcajce.provider.asymmetric.rsa.ISOSignatureSpi
-
- Direct Known Subclasses:
ISOSignatureSpi.MD5WithRSAEncryption
,ISOSignatureSpi.RIPEMD160WithRSAEncryption
,ISOSignatureSpi.SHA1WithRSAEncryption
,ISOSignatureSpi.SHA224WithRSAEncryption
,ISOSignatureSpi.SHA256WithRSAEncryption
,ISOSignatureSpi.SHA384WithRSAEncryption
,ISOSignatureSpi.SHA512_224WithRSAEncryption
,ISOSignatureSpi.SHA512_256WithRSAEncryption
,ISOSignatureSpi.SHA512WithRSAEncryption
,ISOSignatureSpi.WhirlpoolWithRSAEncryption
public class ISOSignatureSpi extends SignatureSpi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ISOSignatureSpi.MD5WithRSAEncryption
static class
ISOSignatureSpi.RIPEMD160WithRSAEncryption
static class
ISOSignatureSpi.SHA1WithRSAEncryption
static class
ISOSignatureSpi.SHA224WithRSAEncryption
static class
ISOSignatureSpi.SHA256WithRSAEncryption
static class
ISOSignatureSpi.SHA384WithRSAEncryption
static class
ISOSignatureSpi.SHA512_224WithRSAEncryption
static class
ISOSignatureSpi.SHA512_256WithRSAEncryption
static class
ISOSignatureSpi.SHA512WithRSAEncryption
static class
ISOSignatureSpi.WhirlpoolWithRSAEncryption
-
Field Summary
-
Fields inherited from class java.security.SignatureSpi
appRandom
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ISOSignatureSpi(Digest digest, AsymmetricBlockCipher cipher)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Object
engineGetParameter(String param)
Deprecated.protected void
engineInitSign(PrivateKey privateKey)
protected void
engineInitVerify(PublicKey publicKey)
protected void
engineSetParameter(String param, Object value)
Deprecated.protected void
engineSetParameter(AlgorithmParameterSpec params)
protected byte[]
engineSign()
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, engineGetParameters, engineInitSign, engineSign, engineUpdate, engineVerify
-
-
-
-
Constructor Detail
-
ISOSignatureSpi
protected ISOSignatureSpi(Digest digest, AsymmetricBlockCipher cipher)
-
-
Method Detail
-
engineInitVerify
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
- Specified by:
engineInitVerify
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineInitSign
protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
- Specified by:
engineInitSign
in classSignatureSpi
- Throws:
InvalidKeyException
-
engineUpdate
protected void engineUpdate(byte b) throws SignatureException
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineUpdate
protected void engineUpdate(byte[] b, int off, int len) throws SignatureException
- Specified by:
engineUpdate
in classSignatureSpi
- Throws:
SignatureException
-
engineSign
protected byte[] engineSign() throws SignatureException
- Specified by:
engineSign
in classSignatureSpi
- Throws:
SignatureException
-
engineVerify
protected boolean engineVerify(byte[] sigBytes) throws SignatureException
- Specified by:
engineVerify
in classSignatureSpi
- Throws:
SignatureException
-
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params)
- Overrides:
engineSetParameter
in classSignatureSpi
-
engineSetParameter
protected void engineSetParameter(String param, Object value)
Deprecated.- Specified by:
engineSetParameter
in classSignatureSpi
-
engineGetParameter
protected Object engineGetParameter(String param)
Deprecated.- Specified by:
engineGetParameter
in classSignatureSpi
-
-