public class RSA_RAW extends BaseSignature
md, privateKey, publicKey, schemeNameSIGNER_KEY, SOURCE_OF_RANDOMNESS, VERIFIER_KEY| Constructor and Description |
|---|
RSA_RAW() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a clone copy of this instance.
|
protected java.lang.Object |
generateSignature() |
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 signature) |
clearData, clearData, init, name, nextRandomBytes, setupSign, setupVerify, sign, verifypublic 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.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.protected boolean verifySignature(java.lang.Object signature)
throws java.lang.IllegalStateException
verifySignature in class BaseSignaturejava.lang.IllegalStateExceptionCopyright © 2025. All rights reserved.