protectedabstract Object
protectedabstract void
engineInitSign
(PrivateKey privateKey)
throws
InvalidKeyException
[Inherited From SignatureSpi]
protected void
engineInitSign
(PrivateKey privateKey, SecureRandom random)
throws
InvalidKeyException
[Inherited From SignatureSpi]
protectedabstract void
engineInitVerify
(PublicKey publicKey)
throws
InvalidKeyException
[Inherited From SignatureSpi]
protected void
engineSetParameter
(AlgorithmParameterSpec params)
throws
InvalidAlgorithmParameterException
[Inherited From SignatureSpi]
protectedabstract void
protected int
engineSign
(byte[] outbuf, int offset, int len)
throws
SignatureException
[Inherited From SignatureSpi]
protectedabstract void
engineUpdate
(byte b)
throws
SignatureException
[Inherited From SignatureSpi]
protectedabstract void
engineUpdate
(byte[] b, int off, int len)
throws
SignatureException
[Inherited From SignatureSpi]
protectedabstract boolean
engineVerify
(byte[] sigBytes)
throws
SignatureException
[Inherited From SignatureSpi]
protected boolean
engineVerify
(byte[] sigBytes, int offset, int length)
throws
SignatureException
[Inherited From SignatureSpi]
publicstatic Signature
getInstance
(String algorithm, Provider provider)
throws
NoSuchAlgorithmException
publicstatic Signature
getInstance
(String algorithm, String provider)
throws
NoSuchAlgorithmException
NoSuchProviderException
publicfinal void
setParameter
(AlgorithmParameterSpec params)
throws
InvalidAlgorithmParameterException
publicfinal void
protected
SecureRandom appRandom
[Inherited From SignatureSpi]
protectedfinalstatic
int SIGN
= "2"
Signature.state value, signifying that
this signature object has been initialized for signing.
protectedfinalstatic
int UNINITIALIZED
= "0"
Signature.state value, signifying that
this signature object has not yet been initialized.
protectedfinalstatic
int VERIFY
= "3"
Signature.state value, signifying that
this signature object has been initialized for verification.