public class AMCRLStore extends AMCertStore
id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::= { id-ce 31 } RLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint DistributionPoint ::= SEQUENCE { distributionPoint [0] DistributionPointName OPTIONAL, reasons [1] ReasonFlags OPTIONAL, cRLIssuer [2] GeneralNames OPTIONAL } DistributionPointName ::= CHOICE { fullName [0] GeneralNames, nameRelativeToCRLIssuer [1] RelativeDistinguishedName } ReasonFlags ::= BIT STRING { unused (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), privilegeWithdrawn (7), aACompromise (8) }
Modifier and Type | Field and Description |
---|---|
static String |
CERTIFICATE_REVOCATION_LIST |
static String |
CERTIFICATE_REVOCATION_LIST_BINARY |
CACERTIFICATE, CACERTIFICATE_BINARY, certificate, cf, ldapconn, storeParam, USERCERTIFICATE, USERCERTIFICATE_BINARY
Constructor and Description |
---|
AMCRLStore(AMLDAPCertStoreParameters param)
Class AMCRLStore is special cased CRL store for LDAP.
|
Modifier and Type | Method and Description |
---|---|
static X509CRL |
getCRL(AMLDAPCertStoreParameters ldapParam,
X509Certificate cert,
String... attrNames)
It gets the new CRL from ldap server.
|
X509CRL |
getCRL(X509Certificate certificate)
Checks certificate and returns corresponding stored CRL in ldap store
|
X509CRL |
getCRLFromCache(X509Certificate certificate)
Checks certificate and returns corresponding stored CRL in cached CRL store.
|
void |
updateCRLCache(X509Certificate certificate,
X509CRL crl)
Checks certificate and update CRL in cached CRL store.
|
getCertificate, getCertificate, getCertificate, getIssuerCertificate, getIssuerDN, getRegisteredCertificate, getSubjectDN, isRootCA, setLdapStoreParam, setSearchFilter
public static final String CERTIFICATE_REVOCATION_LIST
public static final String CERTIFICATE_REVOCATION_LIST_BINARY
public AMCRLStore(AMLDAPCertStoreParameters param)
param
- public X509CRL getCRL(X509Certificate certificate) throws IOException
certificate
- IOException
public X509CRL getCRLFromCache(X509Certificate certificate)
certificate
- public void updateCRLCache(X509Certificate certificate, X509CRL crl)
certificate
- crl
- public static X509CRL getCRL(AMLDAPCertStoreParameters ldapParam, X509Certificate cert, String... attrNames)
ldapParam
- cert
- attrNames,
- attributes names from the subjectDN of the issuer certCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.