Signer
ISO9796d2PSSSigner
, ISO9796d2Signer
public interface SignerWithRecovery extends Signer
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getRecoveredMessage() |
Returns a reference to what message was recovered (if any).
|
boolean |
hasFullMessage() |
Returns true if the signer has recovered the full message as
part of signature verification.
|
void |
updateWithRecoveredMessage(byte[] signature) |
Perform an update with the recovered message before adding any other data.
|
generateSignature, init, reset, update, update, verifySignature
boolean hasFullMessage()
byte[] getRecoveredMessage()
void updateWithRecoveredMessage(byte[] signature) throws InvalidCipherTextException
signature
- the signature that we are in the process of verifying.java.lang.IllegalStateException
InvalidCipherTextException