Class BcTlsDSSVerifier

    • Constructor Detail

      • BcTlsDSSVerifier

        protected BcTlsDSSVerifier​(BcTlsCrypto crypto,
                                   org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey)
    • Method Detail

      • createDSAImpl

        protected abstract org.bouncycastle.crypto.DSA createDSAImpl()
      • getSignatureAlgorithm

        protected abstract short getSignatureAlgorithm()
      • verifyRawSignature

        public boolean verifyRawSignature​(DigitallySigned digitallySigned,
                                          byte[] hash)
        Description copied from interface: TlsVerifier
        Return true if the passed in signature and hash represent a real signature.
        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.