Package org.bouncycastle.crypto
Interface OutputVerifierWithMessageRecovery<T extends Parameters>
- Type Parameters:
T
- the parameters type for the signer.
- All Superinterfaces:
OutputVerifier<T>
Interface for an output verifier that also supports message recovery from the signature.
-
Method Summary
Modifier and TypeMethodDescriptionReturn 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 Details
-
getRecoveredMessage
RecoveredMessage getRecoveredMessage()Return the recovered message details found in the signature.- Returns:
- recovered message details.
-
updateWithRecoveredMessage
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.
-