Package com.sun.identity.security.cert
Class CRLValidator
- java.lang.Object
-
- com.sun.identity.security.cert.CRLValidator
-
public class CRLValidator extends Object
This interface is forCRLValidatorthat is representing configuedX509CRLValidator
-
-
Constructor Summary
Constructors Constructor Description CRLValidator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X509CRLgetCRL(X509Certificate cert)Get certificate revocation list from cofigured ldap storestatic booleanisCRLCheckEnabled()static booleanvalidateCertificate(X509Certificate cert, boolean checkCAStatus)Validate certificate against configured crl
-
-
-
Method Detail
-
validateCertificate
public static boolean validateCertificate(X509Certificate cert, boolean checkCAStatus)
Validate certificate against configured crl- Parameters:
cert- cert to be validated- Returns:
- true if certificate is not in crl
-
getCRL
public static X509CRL getCRL(X509Certificate cert)
Get certificate revocation list from cofigured ldap store- Parameters:
cert- cert to be validated- Returns:
- crl if ldap store configured with crl
-
isCRLCheckEnabled
public static boolean isCRLCheckEnabled()
-
-