Example usage for Java java.security Signature fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
String | getAlgorithm() Returns the name of the algorithm for this signature object. |
Signature | getInstance(String algorithm) Returns a Signature object that implements the specified signature algorithm. |
Signature | getInstance(Instance instance, String algorithm) |
Signature | getInstance(String algorithm, String provider) Returns a Signature object that implements the specified signature algorithm. |
Signature | getInstance(String algorithm, Provider provider) Returns a Signature object that implements the specified signature algorithm. |
AlgorithmParameters | getParameters() Returns the parameters used with this signature object. |
Provider | getProvider() Returns the provider of this signature object. |
void | initSign(PrivateKey privateKey) Initialize this object for signing. |
void | initSign(PrivateKey privateKey, SecureRandom random) Initialize this object for signing. |
void | initVerify(PublicKey publicKey) Initializes this object for verification. |
void | initVerify(Certificate certificate) Initializes this object for verification, using the public key from the given certificate. |
void | setParameter(AlgorithmParameterSpec params) Initializes this signature engine with the specified parameter set. |
String | toString() Returns a string representation of this signature object, providing information that includes the state of the object and the name of the algorithm used. |
void | update(byte b) Updates the data to be signed or verified by a byte. |
void | update(byte[] data) Updates the data to be signed or verified, using the specified array of bytes. |
void | update(ByteBuffer data) Updates the data to be signed or verified using the specified ByteBuffer. |
void | update(byte[] data, int off, int len) Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset. |