Package org.bouncycastle.pqc.crypto
Interface StateAwareMessageSigner
- All Superinterfaces:
MessageSigner
- All Known Implementing Classes:
GMSSStateAwareSigner
,XMSSMTSigner
,XMSSSigner
Base interface for a PQC stateful signature algorithm.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the current version of the private key with the updated state.Methods inherited from interface org.bouncycastle.pqc.crypto.MessageSigner
generateSignature, init, verifySignature
-
Method Details
-
getUpdatedPrivateKey
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.
-