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 Deprecated Methods Modifier and Type Method Description static X509CRLgetCRL(X509Certificate cert)Deprecated.Has no callers.static 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
@Deprecated public static X509CRL getCRL(X509Certificate cert)
Deprecated.Has no callers. UsevalidateCertificate(X509Certificate, boolean)instead; a CRL Distribution Point fetch must never run for a certificate that has not passed the trust-chain check.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()
-
-