org.mozilla.jss.crypto
Class SignatureSpi
java.lang.Object
org.mozilla.jss.crypto.SignatureSpi
public abstract class SignatureSpi
- extends java.lang.Object
You don't need to use this unless you are hacking JSS.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureSpi
public SignatureSpi()
engineInitVerify
public abstract void engineInitVerify(java.security.PublicKey publicKey)
throws java.security.InvalidKeyException,
TokenException
- Throws:
java.security.InvalidKeyException
TokenException
engineInitSign
public abstract void engineInitSign(PrivateKey privateKey)
throws java.security.InvalidKeyException,
TokenException
- Throws:
java.security.InvalidKeyException
TokenException
engineInitSign
public abstract void engineInitSign(PrivateKey privateKey,
java.security.SecureRandom random)
throws java.security.InvalidKeyException,
TokenException
- Throws:
java.security.InvalidKeyException
TokenException
engineUpdate
public abstract void engineUpdate(byte b)
throws java.security.SignatureException,
TokenException
- Throws:
java.security.SignatureException
TokenException
engineUpdate
public abstract void engineUpdate(byte[] b,
int off,
int len)
throws java.security.SignatureException,
TokenException
- Throws:
java.security.SignatureException
TokenException
engineSign
public abstract byte[] engineSign()
throws java.security.SignatureException,
TokenException
- Throws:
java.security.SignatureException
TokenException
engineSign
public abstract int engineSign(byte[] outbuf,
int offset,
int len)
throws java.security.SignatureException,
TokenException
- Throws:
java.security.SignatureException
TokenException
engineVerify
public abstract boolean engineVerify(byte[] sigBytes)
throws java.security.SignatureException,
TokenException
- Throws:
java.security.SignatureException
TokenException
engineSetParameter
public abstract void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
throws java.security.InvalidAlgorithmParameterException,
TokenException
- Throws:
java.security.InvalidAlgorithmParameterException
TokenException