Class JcaTlsECDSA13Verifier

  • All Implemented Interfaces:
    TlsVerifier

    public class JcaTlsECDSA13Verifier
    extends java.lang.Object
    implements TlsVerifier
    Implementation class for verification of ECDSA signatures in TLS 1.3+ using the JCA.
    • Constructor Detail

      • JcaTlsECDSA13Verifier

        public JcaTlsECDSA13Verifier​(JcaTlsCrypto crypto,
                                     java.security.PublicKey publicKey,
                                     int signatureScheme)
    • Method Detail

      • verifyRawSignature

        public boolean verifyRawSignature​(DigitallySigned signature,
                                          byte[] hash)
        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:
        signature - the signature object containing the signature to be verified.
        hash - the hash calculated for the signature.
        Returns:
        true if signature verifies, false otherwise.