java.lang.Object | |||
java.security.SignatureSpi | |||
java.security.Signature |
Value | ||||
---|---|---|---|---|
int | SIGN | 2 | 0x00000002 | |
int | UNINITIALIZED | 0 | 0x00000000 | |
int | VERIFY | 3 | 0x00000003 |
protected | int | state |
Signature(String algorithm) |
Object | clone() | |||||
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver. | ||||||
final | String | getAlgorithm() | ||||
static | Signature | getInstance(String algorithm, String provider) | ||||
static | Signature | getInstance(String algorithm) | ||||
static | Signature | getInstance(String algorithm, Provider provider) | ||||
final | Object | getParameter(String param) | ||||
This method is deprecated. There is no generally accepted parameter naming convention. | ||||||
final | AlgorithmParameters | getParameters() | ||||
final | Provider | getProvider() | ||||
final | void | initSign(PrivateKey privateKey) | ||||
final | void | initSign(PrivateKey privateKey, SecureRandom random) | ||||
final | void | initVerify(PublicKey publicKey) | ||||
final | void | initVerify(Certificate certificate) | ||||
final | void | setParameter(String param, Object value) | ||||
This method is deprecated. Use setParameter | ||||||
final | void | setParameter(AlgorithmParameterSpec params) | ||||
final | byte[] | sign() | ||||
final | int | sign(byte[] outbuf, int offset, int len) | ||||
String | toString() | |||||
Returns a string containing a concise, human-readable description of the receiver. | ||||||
final | void | update(byte[] data) | ||||
final | void | update(byte b) | ||||
final | void | update(byte[] data, int off, int len) | ||||
final | void | update(ByteBuffer data) | ||||
final | boolean | verify(byte[] signature) | ||||
final | boolean | verify(byte[] signature, int offset, int length) |
Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.
CloneNotSupportedException |
---|
NoSuchAlgorithmException |
---|
NoSuchAlgorithmException |
---|
This method is deprecated. There is no generally accepted parameter naming convention.
@com.intel.drl.spec_refInvalidParameterException |
---|
InvalidKeyException |
---|
InvalidKeyException |
---|
InvalidKeyException |
---|
InvalidKeyException |
---|
This method is deprecated. Use setParameter
@com.intel.drl.spec_refInvalidParameterException |
---|
SignatureException |
---|
SignatureException |
---|
SignatureException |
---|
SignatureException |
---|
SignatureException |
---|
SignatureException |
---|
SignatureException |
---|
SignatureException |
---|
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |