|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.pqc.crypto.gmss.GMSSSigner
public class GMSSSigner
This class implements the GMSS signature scheme.
| Constructor Summary | |
|---|---|
GMSSSigner(GMSSDigestProvider digest)
The standard constructor tries to generate the MerkleTree Algorithm identifier with the corresponding OID. |
|
| Method Summary | |
|---|---|
byte[] |
generateSignature(byte[] message)
Signs a message. |
void |
init(boolean forSigning,
CipherParameters param)
initialise the signer for signature generation or signature verification. |
boolean |
verifySignature(byte[] message,
byte[] signature)
This function verifies the signature of the message that has been updated, with the aid of the public key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GMSSSigner(GMSSDigestProvider digest)
digest - the digest to use| Method Detail |
|---|
public void init(boolean forSigning,
CipherParameters param)
MessageSigner
init in interface MessageSignerforSigning - true if we are generating a signature, false
otherwise.param - key parameters for signature generation.public byte[] generateSignature(byte[] message)
generateSignature in interface MessageSignermessage - the message to be signed.
public boolean verifySignature(byte[] message,
byte[] signature)
verifySignature in interface MessageSignermessage - the messagesignature - the signature associated with the message
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||