This class can be used with algorithms where the state associated with the private key changes as each signature is generated. Calling getUpdatedPrivateKey() will recover the private key that can be used to initialize a signer next time around.
| Modifier and Type | Field and Description |
|---|---|
| private final StateAwareMessageSigner |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AsymmetricKeyParameter | Returns: an updated private key object, which can be used for later signature generation.Return the current version of the private key with the updated state. |
| signer | back to summary |
|---|---|
| private final StateAwareMessageSigner signer | |
| DigestingStateAwareMessageSigner | back to summary |
|---|---|
| public DigestingStateAwareMessageSigner(StateAwareMessageSigner messSigner, Digest messDigest) | |
| getUpdatedPrivateKey | back 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().
| |