Top Description Methods
org.bouncycastle.pqc.crypto

public Interface StateAwareMessageSigner

extends MessageSigner
Known Direct Implementers
org.bouncycastle.pqc.crypto.xmss.XMSSMTSigner, org.bouncycastle.pqc.crypto.xmss.XMSSSigner, org.bouncycastle.pqc.legacy.crypto.gmss.GMSSStateAwareSigner
Imports
org.bouncycastle.crypto.params.AsymmetricKeyParameter

Base interface for a PQC stateful signature algorithm.

Method Summary

Modifier and TypeMethod and Description
public AsymmetricKeyParameter

Returns:

an updated private key object, which can be used for later signature generation.
getUpdatedPrivateKey
()

Return the current version of the private key with the updated state.

Inherited from org.bouncycastle.pqc.crypto.MessageSigner:
generateSignatureinitverifySignature

Method Detail

getUpdatedPrivateKeyback to summary
public AsymmetricKeyParameter getUpdatedPrivateKey()

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().

Returns:AsymmetricKeyParameter

an updated private key object, which can be used for later signature generation.