| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private XMSSMTParameters | |
| private XMSSMTPrivateKeyParameters | privateKey
Deprecated
as a consequence of
XMSSMTPrivateKeyParameters being deprecated.
|
| private XMSSMTPublicKeyParameters | publicKey
Deprecated
as a consequence of
XMSSMTPublicKeyParameters being deprecated.
|
| private WOTSPlus | |
| private XMSSParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature(byte[]
the message to be signed. message)Implements org. |
| public AsymmetricKeyParameter | getUpdatedPrivateKey()
Implements org. |
| public long | |
| public void | init(boolean
true if we are generating a signature, false
otherwise. forSigning, CipherParameters key parameters for signature generation. param)Implements org. |
| public boolean | verifySignature(byte[]
the message that was supposed to have been signed. message, byte[] the signature of the message signature)Implements org. |
| private WOTSPlusSignature |
| hasGenerated | back to summary |
|---|---|
| private boolean hasGenerated | |
| initSign | back to summary |
|---|---|
| private boolean initSign | |
| params | back to summary |
|---|---|
| private XMSSMTParameters params | |
| privateKey | back to summary |
|---|---|
| private XMSSMTPrivateKeyParameters privateKey
Deprecated as a consequence of | |
| publicKey | back to summary |
|---|---|
| private XMSSMTPublicKeyParameters publicKey
Deprecated as a consequence of | |
| wotsPlus | back to summary |
|---|---|
| private WOTSPlus wotsPlus | |
| xmssParams | back to summary |
|---|---|
| private XMSSParameters xmssParams | |
| XMSSMTSigner | back to summary |
|---|---|
| public XMSSMTSigner() | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature(byte[] message) Implements org. Doc from org. sign the passed in message (usually the output of a hash function).
| |
| getUpdatedPrivateKey | back to summary |
|---|---|
| public AsymmetricKeyParameter getUpdatedPrivateKey() Implements org. Doc from org. Return the current version of the private key with the updated state. Note calling this method will effectively disable the Signer from being used for further signature generation without another call to init().
| |
| getUsagesRemaining | back to summary |
|---|---|
| public long getUsagesRemaining() | |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Implements org. Doc from org. initialise the signer for signature generation or signature verification.
| |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] message, byte[] signature) Implements org. Doc from org. verify the message message against the signature value.
| |
| wotsSign | back to summary |
|---|---|
| private WOTSPlusSignature wotsSign(byte[] messageDigest, OTSHashAddress otsHashAddress) | |