Top Description Methods
org.bouncycastle.crypto

public Interface OutputVerifierWithMessageRecovery<T extends Parameters>

extends OutputVerifier<T extends Parameters>
Type Parameters
<T>
the parameters type for the signer.

Interface for an output signer that also supports message recovery from the signature.

Method Summary

Modifier and TypeMethod and Description
public RecoveredMessage

Returns:

recovered message details.
getRecoveredMessage
()

Return the recovered message details found in the signature.

public void
updateWithRecoveredMessage(byte[]
the signature we are in the process of verifying.
signature
)

Update the verifier with the recovered message data found in the signature.

Inherited from org.bouncycastle.crypto.OutputVerifier:
getParametersgetVerifyingStreamisVerified

Method Detail

getRecoveredMessageback to summary
public RecoveredMessage getRecoveredMessage()

Return the recovered message details found in the signature.

Returns:RecoveredMessage

recovered message details.

updateWithRecoveredMessageback to summary
public void updateWithRecoveredMessage(byte[] signature) throws InvalidSignatureException

Update the verifier with the recovered message data found in the signature.

Parameters
signature:byte[]

the signature we are in the process of verifying.

Exceptions
InvalidSignatureException:
if the signature cannot be processed.