public class RSAISO9796d2Signature extends BaseSignature
md, privateKey, publicKey, schemeNameSIGNER_KEY, SOURCE_OF_RANDOMNESS, VERIFIER_KEY| Constructor and Description |
|---|
RSAISO9796d2Signature() |
RSAISO9796d2Signature(java.lang.String mdName,
boolean implicit) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a clone copy of this instance.
|
protected java.lang.Object |
generateSignature() |
byte[] |
getRecoveredMessage() |
protected void |
setupForSigning(java.security.PrivateKey key) |
protected void |
setupForVerification(java.security.PublicKey key) |
void |
update(byte b)
Digests one byte of a message for signing or verification purposes.
|
void |
update(byte[] b,
int off,
int len)
Digests a sequence of bytes from a message for signing or verification
purposes.
|
protected boolean |
verifySignature(java.lang.Object sig) |
clearData, clearData, init, name, nextRandomBytes, setupSign, setupVerify, sign, verifypublic RSAISO9796d2Signature()
public RSAISO9796d2Signature(java.lang.String mdName,
boolean implicit)
public java.lang.Object clone()
ISignatureReturns a clone copy of this instance.
clone in interface ISignatureclone in class BaseSignatureprotected void setupForVerification(java.security.PublicKey key)
throws java.lang.IllegalArgumentException
setupForVerification in class BaseSignaturejava.lang.IllegalArgumentExceptionprotected void setupForSigning(java.security.PrivateKey key)
throws java.lang.IllegalArgumentException
setupForSigning in class BaseSignaturejava.lang.IllegalArgumentExceptionprotected java.lang.Object generateSignature()
throws java.lang.IllegalStateException
generateSignature in class BaseSignaturejava.lang.IllegalStateExceptionprotected boolean verifySignature(java.lang.Object sig)
throws java.lang.IllegalStateException
verifySignature in class BaseSignaturejava.lang.IllegalStateExceptionpublic void update(byte[] b,
int off,
int len)
ISignatureDigests a sequence of bytes from a message for signing or verification purposes.
update in interface ISignatureupdate in class BaseSignatureb - the byte sequence to consider.off - the byte poisition in buffer of the first byte
to consider.len - the number of bytes in buffer starting from the
byte at index offset to digest.public void update(byte b)
ISignatureDigests one byte of a message for signing or verification purposes.
update in interface ISignatureupdate in class BaseSignatureb - the message byte to digest.public byte[] getRecoveredMessage()
Copyright © 2025. All rights reserved.