Class AnyCertVerifier

    • Constructor Detail

      • AnyCertVerifier

        public AnyCertVerifier()
    • Method Detail

      • verify

        public boolean verify​(X509Certificate cert,
                              String alias,
                              KeyStore keyStore,
                              KeyStore trustStore)
        Returns true regardless of the arguments.
        Specified by:
        verify in interface X509CertificateVerifier
        Parameters:
        cert - - the X509Certificate to verifier
        alias - - the expected keystore alias
        keyStore - - the keystore for the cert
        trustStore - - the truststore for the cert signer
        Returns:
        true always.