Package org.bouncycastle.crypto
Interface OutputVerifierWithMessageRecovery<T extends Parameters>
-
- Type Parameters:
T
- the parameters type for the signer.
- All Superinterfaces:
OutputVerifier<T>
public interface OutputVerifierWithMessageRecovery<T extends Parameters> extends OutputVerifier<T>
Interface for an output signer that also supports message recovery from the signature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecoveredMessage
getRecoveredMessage()
Return the recovered message details found in the signature.void
updateWithRecoveredMessage(byte[] signature)
Update the verifier with the recovered message data found in the signature.-
Methods inherited from interface org.bouncycastle.crypto.OutputVerifier
getParameters, getVerifyingStream, isVerified
-
-
-
-
Method Detail
-
getRecoveredMessage
RecoveredMessage getRecoveredMessage()
Return the recovered message details found in the signature.- Returns:
- recovered message details.
-
updateWithRecoveredMessage
void updateWithRecoveredMessage(byte[] signature) throws InvalidSignatureException
Update the verifier with the recovered message data found in the signature.- Parameters:
signature
- the signature we are in the process of verifying.- Throws:
InvalidSignatureException
- if the signature cannot be processed.
-
-