Class LegacyTls13Verifier

  • All Implemented Interfaces:
    TlsVerifier

    public final class LegacyTls13Verifier
    extends java.lang.Object
    implements TlsVerifier
    • Constructor Detail

      • LegacyTls13Verifier

        public LegacyTls13Verifier​(int signatureScheme,
                                   Tls13Verifier tls13Verifier)
    • Method Detail

      • verifyRawSignature

        public boolean verifyRawSignature​(DigitallySigned digitallySigned,
                                          byte[] hash)
                                   throws java.io.IOException
        Description copied from interface: TlsVerifier
        Return true if the passed in signature and hash represent a real signature.
        Specified by:
        verifyRawSignature in interface TlsVerifier
        Parameters:
        digitallySigned - the signature object containing the signature to be verified.
        hash - the hash calculated for the signature.
        Returns:
        true if signature verifies, false otherwise.
        Throws:
        java.io.IOException - in case of an exception verifying signature.