Deprecated
it's better to avoid this and use extractKeyShard methods where possible.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public PrivateKey | Returns: an updated private key object, which can be used for later signature generation.Return the current version of the private key with the updated state. |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | Returns: true if we are capable of making signatures.Return true if this Signature object can be used for signing. |
| public byte[] | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() | |
| getUpdatedPrivateKey | back to summary |
|---|---|
| public PrivateKey getUpdatedPrivateKey() Return the current version of the private key with the updated state. Note calling this method will effectively disable the Signature object from being used for further signature generation without another call to initSign().
| |
| initSign | back to summary |
|---|---|
| public void initSign(PrivateKey privateKey) throws InvalidKeyException | |
| initSign | back to summary |
|---|---|
| public void initSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException | |
| initVerify | back to summary |
|---|---|
| public void initVerify(PublicKey publicKey) throws InvalidKeyException | |
| initVerify | back to summary |
|---|---|
| public void initVerify(Certificate certificate) throws InvalidKeyException | |
| isSigningCapable | back to summary |
|---|---|
| public boolean isSigningCapable() Return true if this Signature object can be used for signing. False otherwise.
| |
| sign | back to summary |
|---|---|
| public byte[] sign() throws SignatureException | |
| sign | back to summary |
|---|---|
| public int sign(byte[] outbuf, int offset, int len) throws SignatureException | |
| update | back to summary |
|---|---|
| public void update(byte b) throws SignatureException | |
| update | back to summary |
|---|---|
| public void update(byte[] data) throws SignatureException | |
| update | back to summary |
|---|---|
| public void update(byte[] data, int off, int len) throws SignatureException | |
| update | back to summary |
|---|---|
| public void update(ByteBuffer data) throws SignatureException | |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] signature) throws SignatureException | |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] signature, int offset, int length) throws SignatureException | |