Modifier and Type | Field and Description |
---|---|
protected SecureRandom |
appRandom |
Constructor and Description |
---|
SignatureSpi() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Default clone() method performs a "shallow" cloning of the instance.
|
protected abstract Object |
engineGetParameter(String param)
Deprecated.
|
protected AlgorithmParameters |
engineGetParameters()
The default implementation throws a UnsupportOperationException
|
protected abstract void |
engineInitSign(PrivateKey privateKey) |
protected void |
engineInitSign(PrivateKey privateKey,
SecureRandom random)
method was added in 1.2.
|
protected abstract void |
engineInitVerify(PublicKey publicKey) |
protected void |
engineSetParameter(AlgorithmParameterSpec params)
method was added in 1.2.
|
protected abstract void |
engineSetParameter(String param,
Object value)
Deprecated.
Replaced by engineSetParameter.
|
protected abstract byte[] |
engineSign() |
protected int |
engineSign(byte[] outbuf,
int offset,
int len)
method was added in 1.2.
|
protected abstract void |
engineUpdate(byte b) |
protected abstract void |
engineUpdate(byte[] b,
int off,
int len) |
protected abstract boolean |
engineVerify(byte[] sigBytes) |
protected boolean |
engineVerify(byte[] sigBytes,
int offset,
int length) |
protected SecureRandom appRandom
public Object clone() throws CloneNotSupportedException
Object
clone
in class Object
CloneNotSupportedException
protected abstract Object engineGetParameter(String param) throws InvalidParameterException
InvalidParameterException
protected abstract void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
InvalidKeyException
protected abstract void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
InvalidKeyException
protected abstract void engineSetParameter(String param, Object value) throws InvalidParameterException
InvalidParameterException
protected abstract byte[] engineSign() throws SignatureException
SignatureException
protected abstract void engineUpdate(byte b) throws SignatureException
SignatureException
protected abstract void engineUpdate(byte[] b, int off, int len) throws SignatureException
SignatureException
protected abstract boolean engineVerify(byte[] sigBytes) throws SignatureException
SignatureException
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
InvalidKeyException
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException
protected int engineSign(byte[] outbuf, int offset, int len) throws SignatureException
SignatureException
protected AlgorithmParameters engineGetParameters()
protected boolean engineVerify(byte[] sigBytes, int offset, int length) throws SignatureException
SignatureException
- by default...