public class JDKDigestSignature extends SignatureSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
JDKDigestSignature.MD2WithRSAEncryption |
static class |
JDKDigestSignature.MD4WithRSAEncryption |
static class |
JDKDigestSignature.MD5WithRSAEncryption |
static class |
JDKDigestSignature.noneRSA |
static class |
JDKDigestSignature.RIPEMD128WithRSAEncryption |
static class |
JDKDigestSignature.RIPEMD160WithRSAEncryption |
static class |
JDKDigestSignature.RIPEMD256WithRSAEncryption |
static class |
JDKDigestSignature.SHA1WithRSAEncryption |
static class |
JDKDigestSignature.SHA224WithRSAEncryption |
static class |
JDKDigestSignature.SHA256WithRSAEncryption |
static class |
JDKDigestSignature.SHA384WithRSAEncryption |
static class |
JDKDigestSignature.SHA512WithRSAEncryption |
appRandom| Modifier | Constructor and Description |
|---|---|
protected |
JDKDigestSignature(DERObjectIdentifier objId,
Digest digest,
AsymmetricBlockCipher cipher) |
protected |
JDKDigestSignature(Digest digest,
AsymmetricBlockCipher cipher) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
engineGetParameter(String param)
Deprecated.
|
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInitSign(PrivateKey privateKey) |
protected void |
engineInitVerify(PublicKey publicKey) |
protected void |
engineSetParameter(AlgorithmParameterSpec params) |
protected void |
engineSetParameter(String param,
Object value)
|
protected byte[] |
engineSign() |
protected void |
engineUpdate(byte b) |
protected void |
engineUpdate(byte[] b,
int off,
int len) |
protected boolean |
engineVerify(byte[] sigBytes) |
clone, engineInitSign, engineSign, engineUpdate, engineVerifyprotected JDKDigestSignature(Digest digest, AsymmetricBlockCipher cipher)
protected JDKDigestSignature(DERObjectIdentifier objId, Digest digest, AsymmetricBlockCipher cipher)
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify in class SignatureSpiInvalidKeyExceptionprotected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineUpdate(byte b)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected byte[] engineSign()
throws SignatureException
engineSign in class SignatureSpiSignatureExceptionprotected boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class SignatureSpiSignatureExceptionprotected void engineSetParameter(AlgorithmParameterSpec params)
engineSetParameter in class SignatureSpiprotected void engineSetParameter(String param, Object value)
engineSetParameter in class SignatureSpiprotected Object engineGetParameter(String param)
engineGetParameter in class SignatureSpiprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class SignatureSpiCopyright © 2015. All rights reserved.