Bouncy Castle Cryptography Library 1.79

org.bouncycastle.pqc.crypto
Interface StateAwareMessageSigner

All Superinterfaces:
MessageSigner
All Known Implementing Classes:
GMSSStateAwareSigner

public interface StateAwareMessageSigner
extends MessageSigner

Base interface for a PQC stateful signature algorithm.


Method Summary
 AsymmetricKeyParameter getUpdatedPrivateKey()
          Return the current version of the private key with the updated state.
 
Methods inherited from interface org.bouncycastle.pqc.crypto.MessageSigner
generateSignature, init, verifySignature
 

Method Detail

getUpdatedPrivateKey

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:
an updated private key object, which can be used for later signature generation.

Bouncy Castle Cryptography Library 1.79