Class JcaTlsEdDSAVerifier

    • Field Detail

      • publicKey

        protected final java.security.PublicKey publicKey
      • algorithmType

        protected final short algorithmType
      • algorithmName

        protected final java.lang.String algorithmName
    • Constructor Detail

      • JcaTlsEdDSAVerifier

        public JcaTlsEdDSAVerifier​(JcaTlsCrypto crypto,
                                   java.security.PublicKey publicKey,
                                   short algorithmType,
                                   java.lang.String algorithmName)
    • Method Detail

      • verifyRawSignature

        public boolean verifyRawSignature​(DigitallySigned signature,
                                          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:
        signature - 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.