com.mindbright.jca.security
Class SignatureSpi
java.lang.Object
com.mindbright.jca.security.SignatureSpi
- Direct Known Subclasses:
- BaseSignature, Signature
public abstract class SignatureSpi
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
appRandom
protected SecureRandom appRandom
SignatureSpi
public SignatureSpi()
engineInitVerify
protected abstract void engineInitVerify(PublicKey publicKey)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInitSign
protected abstract void engineInitSign(PrivateKey privateKey)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInitSign
protected abstract void engineInitSign(PrivateKey privateKey,
SecureRandom random)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineUpdate
protected abstract void engineUpdate(byte b)
throws SignatureException
- Throws:
SignatureException
engineUpdate
protected abstract void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
- Throws:
SignatureException
engineSign
protected abstract byte[] engineSign()
throws SignatureException
- Throws:
SignatureException
engineSign
protected int engineSign(byte[] outbuf,
int offset,
int len)
throws SignatureException
- Throws:
SignatureException
engineVerify
protected abstract boolean engineVerify(byte[] sigBytes)
throws SignatureException
- Throws:
SignatureException
engineSetParameter
protected abstract void engineSetParameter(java.lang.String param,
java.lang.Object value)
throws InvalidParameterException
- Throws:
InvalidParameterException
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params)
throws InvalidAlgorithmParameterException
- Throws:
InvalidAlgorithmParameterException
engineGetParameter
protected abstract java.lang.Object engineGetParameter(java.lang.String param)
throws InvalidParameterException
- Throws:
InvalidParameterException
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException