org.jboss.security.auth.certs
Interface X509CertificateVerifier

All Known Implementing Classes:
AnyCertVerifier

public interface X509CertificateVerifier

A verifier for X509Certificate used by authentication layers.

Version:
$Revision: 1.1.2.1 $
Author:
Scott.Stark@jboss.org
See Also:
BaseCertLoginModule

Method Summary
 boolean verify(X509Certificate cert, String alias, KeyStore keyStore, KeyStore trustStore)
          Validate a cert.
 

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.