Object
|
clone()
Returns a clone if the implementation is cloneable.
|
abstract
Object
|
engineGetParameter(String param)
This method is deprecated.
No replacement.
|
AlgorithmParameters
|
engineGetParameters()
This method is overridden by providers to return the
parameters used with this signature engine, or null
if this signature engine does not use any parameters.
|
void
|
engineInitSign(PrivateKey privateKey, SecureRandom random)
Initializes this signature object with the specified
private key and source of randomness for signing operations.
|
abstract
void
|
engineInitSign(PrivateKey privateKey)
Initializes this signature object with the specified
private key for signing operations.
|
abstract
void
|
engineInitVerify(PublicKey publicKey)
Initializes this signature object with the specified
public key for verification operations.
|
abstract
void
|
engineSetParameter(String param, Object value)
|
void
|
engineSetParameter(AlgorithmParameterSpec params)
This method is overridden by providers to initialize
this signature engine with the specified parameter set.
|
int
|
engineSign(byte[] outbuf, int offset, int len)
Finishes this signature operation and stores the resulting signature
bytes in the provided buffer outbuf , starting at
offset .
|
abstract
byte[]
|
engineSign()
Returns the signature bytes of all the data
updated so far.
|
abstract
void
|
engineUpdate(byte b)
Updates the data to be signed or verified
using the specified byte.
|
void
|
engineUpdate(ByteBuffer input)
Updates the data to be signed or verified using the specified
ByteBuffer.
|
abstract
void
|
engineUpdate(byte[] b, int off, int len)
Updates the data to be signed or verified, using the
specified array of bytes, starting at the specified offset.
|
boolean
|
engineVerify(byte[] sigBytes, int offset, int length)
Verifies the passed-in signature in the specified array
of bytes, starting at the specified offset.
|
abstract
boolean
|
engineVerify(byte[] sigBytes)
Verifies the passed-in signature.
|