Interface X509CertificateVerifier

  • All Known Implementing Classes:
    AnyCertVerifier

    public interface X509CertificateVerifier
    A verifier for X509Certificate used by authentication layers.
    Version:
    $Revision$
    Author:
    Scott.Stark@jboss.org
    See Also:
    BaseCertLoginModule
    • Method Detail

      • verify

        boolean verify​(X509Certificate cert,
                       String alias,
                       KeyStore keyStore,
                       KeyStore trustStore)
        Validate a cert.
        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 if the cert is valid, false otherwise