|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.SignatureSpi java.security.Signature org.gudy.bouncycastle.jce.provider.JDKDigestSignature
public class JDKDigestSignature
Nested Class Summary | |
---|---|
static class |
JDKDigestSignature.MD2WithRSAEncryption
|
static class |
JDKDigestSignature.MD5WithRSAEncryption
|
static class |
JDKDigestSignature.RIPEMD128WithRSAEncryption
|
static class |
JDKDigestSignature.RIPEMD160WithRSAEncryption
|
static class |
JDKDigestSignature.RIPEMD256WithRSAEncryption
|
static class |
JDKDigestSignature.SHA1WithRSAEncryption
|
Field Summary |
---|
Fields inherited from class java.security.Signature |
---|
SIGN, state, UNINITIALIZED, VERIFY |
Fields inherited from class java.security.SignatureSpi |
---|
appRandom |
Fields inherited from interface org.gudy.bouncycastle.asn1.x509.X509ObjectIdentifiers |
---|
commonName, countryName, crlAccessMethod, id, id_ad, id_ad_caIssuers, id_ad_ocsp, id_ea_rsa, id_pe, id_pkix, id_SHA1, localityName, ocspAccessMethod, organization, organizationalUnitName, ripemd160, ripemd160WithRSAEncryption, stateOrProvinceName |
Constructor Summary | |
---|---|
protected |
JDKDigestSignature(java.lang.String name,
DERObjectIdentifier objId,
Digest digest,
AsymmetricBlockCipher cipher)
|
Method Summary | |
---|---|
protected java.lang.Object |
engineGetParameter(java.lang.String param)
Deprecated. |
protected void |
engineInitSign(java.security.PrivateKey privateKey)
|
protected void |
engineInitVerify(java.security.PublicKey publicKey)
|
protected void |
engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
|
protected void |
engineSetParameter(java.lang.String param,
java.lang.Object value)
Deprecated. replaced with |
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.Signature |
---|
clone, getAlgorithm, getInstance, getInstance, getInstance, getParameter, getParameters, getProvider, initSign, initSign, initVerify, initVerify, setParameter, setParameter, sign, sign, toString, update, update, update, update, verify, verify |
Methods inherited from class java.security.SignatureSpi |
---|
engineGetParameters, engineInitSign, engineSign, engineUpdate, engineVerify |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected JDKDigestSignature(java.lang.String name, DERObjectIdentifier objId, Digest digest, AsymmetricBlockCipher cipher)
Method Detail |
---|
protected void engineInitVerify(java.security.PublicKey publicKey) throws java.security.InvalidKeyException
engineInitVerify
in class java.security.SignatureSpi
java.security.InvalidKeyException
protected void engineInitSign(java.security.PrivateKey privateKey) throws java.security.InvalidKeyException
engineInitSign
in class java.security.SignatureSpi
java.security.InvalidKeyException
protected void engineUpdate(byte b) throws java.security.SignatureException
engineUpdate
in class java.security.SignatureSpi
java.security.SignatureException
protected void engineUpdate(byte[] b, int off, int len) throws java.security.SignatureException
engineUpdate
in class java.security.SignatureSpi
java.security.SignatureException
protected byte[] engineSign() throws java.security.SignatureException
engineSign
in class java.security.SignatureSpi
java.security.SignatureException
protected boolean engineVerify(byte[] sigBytes) throws java.security.SignatureException
engineVerify
in class java.security.SignatureSpi
java.security.SignatureException
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
engineSetParameter
in class java.security.SignatureSpi
protected void engineSetParameter(java.lang.String param, java.lang.Object value)
engineSetParameter
in class java.security.SignatureSpi
protected java.lang.Object engineGetParameter(java.lang.String param)
engineGetParameter
in class java.security.SignatureSpi
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |