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 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.