Package 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$
- Author:
- Scott.Stark@jboss.org
- See Also:
BaseCertLoginModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 verifieralias
- - the expected keystore aliaskeyStore
- - the keystore for the certtrustStore
- - the truststore for the cert signer- Returns:
- true if the cert is valid, false otherwise
-
-