| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private KeyedHashFunctions | |
| private XMSSParameters | |
| private XMSSPrivateKeyParameters | privateKey
Deprecated
as a consequence of
XMSSPrivateKeyParameters being deprecated.
|
| private XMSSPublicKeyParameters | publicKey
Deprecated
as a consequence of
XMSSPublicKeyParameters being deprecated.
|
| private WOTSPlus |
| 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 | |
| khf | back to summary |
|---|---|
| private KeyedHashFunctions khf | |
| params | back to summary |
|---|---|
| private XMSSParameters params | |
| privateKey | back to summary |
|---|---|
| private XMSSPrivateKeyParameters privateKey
Deprecated as a consequence of | |
| publicKey | back to summary |
|---|---|
| private XMSSPublicKeyParameters publicKey
Deprecated as a consequence of | |
| wotsPlus | back to summary |
|---|---|
| private WOTSPlus wotsPlus | |
| XMSSSigner | back to summary |
|---|---|
| public XMSSSigner() | |
| 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) | |