public class LDAPStoreHelper
extends java.lang.Object
At first a search is performed in the ldap*AttributeNames of the
X509LDAPCertStoreParameters
with the given
information of the subject (for all kind of certificates) or issuer (for
CRLs), respectively, if a X509CertStoreSelector
or
X509AttributeCertificate
is given with that
details.
For the used schemes see:
Constructor and Description |
---|
LDAPStoreHelper(X509LDAPCertStoreParameters params) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
getAACertificates(X509AttributeCertStoreSelector selector)
Returns attribute certificates for an attribute authority
|
java.util.Collection |
getAttributeAuthorityRevocationLists(X509CRLStoreSelector selector)
Returns the revocation list for revoked attribute certificates for an
attribute authority
|
java.util.Collection |
getAttributeCertificateAttributes(X509AttributeCertStoreSelector selector)
Returns an attribute certificate for an user.
|
java.util.Collection |
getAttributeCertificateRevocationLists(X509CRLStoreSelector selector)
Returns the revocation list for revoked attribute certificates.
|
java.util.Collection |
getAttributeDescriptorCertificates(X509AttributeCertStoreSelector selector)
Returns an attribute certificate for an authority
|
java.util.Collection |
getAuthorityRevocationLists(X509CRLStoreSelector selector)
Returns the CRLs for issued certificates for other CAs matching the given
selector.
|
java.util.Collection |
getCACertificates(X509CertStoreSelector selector)
Returns CA certificates.
|
java.util.Collection |
getCertificateRevocationLists(X509CRLStoreSelector selector)
Returns the certificate revocation lists for revoked certificates.
|
java.util.Collection |
getCrossCertificatePairs(X509CertPairStoreSelector selector)
Returns cross certificate pairs.
|
java.util.Collection |
getDeltaCertificateRevocationLists(X509CRLStoreSelector selector)
Returns the delta revocation list for revoked certificates.
|
java.util.Collection |
getUserCertificates(X509CertStoreSelector selector)
Returns end certificates.
|
public LDAPStoreHelper(X509LDAPCertStoreParameters params)
public java.util.Collection getAuthorityRevocationLists(X509CRLStoreSelector selector) throws StoreException
selector
- The CRL selector to use to find the CRLs.StoreException
public java.util.Collection getAttributeCertificateRevocationLists(X509CRLStoreSelector selector) throws StoreException
The attributeCertificateRevocationList holds a list of attribute certificates that have been revoked.
selector
- The CRL selector to use to find the CRLs.StoreException
public java.util.Collection getAttributeAuthorityRevocationLists(X509CRLStoreSelector selector) throws StoreException
The attributeAuthorityList holds a list of AA certificates that have been revoked.
selector
- The CRL selector to use to find the CRLs.StoreException
public java.util.Collection getCrossCertificatePairs(X509CertPairStoreSelector selector) throws StoreException
selector
- The selector to use to find the cross certificates.X509CertificatePair
sStoreException
public java.util.Collection getUserCertificates(X509CertStoreSelector selector) throws StoreException
The attributeDescriptorCertificate is self signed by a source of authority and holds a description of the privilege and its delegation rules.
selector
- The selector to find the certificates.StoreException
public java.util.Collection getAACertificates(X509AttributeCertStoreSelector selector) throws StoreException
The aAcertificate holds the privileges of an attribute authority.
selector
- The selector to find the attribute certificates.StoreException
public java.util.Collection getAttributeDescriptorCertificates(X509AttributeCertStoreSelector selector) throws StoreException
The attributeDescriptorCertificate is self signed by a source of authority and holds a description of the privilege and its delegation rules.
selector
- The selector to find the attribute certificates.StoreException
public java.util.Collection getCACertificates(X509CertStoreSelector selector) throws StoreException
The cACertificate attribute of a CA's directory entry shall be used to store self-issued certificates (if any) and certificates issued to this CA by CAs in the same realm as this CA.
selector
- The selector to find the certificates.StoreException
public java.util.Collection getDeltaCertificateRevocationLists(X509CRLStoreSelector selector) throws StoreException
selector
- The CRL selector to use to find the CRLs.StoreException
public java.util.Collection getAttributeCertificateAttributes(X509AttributeCertStoreSelector selector) throws StoreException
The attributeCertificateAttribute holds the privileges of a user
selector
- The selector to find the attribute certificates.StoreException
public java.util.Collection getCertificateRevocationLists(X509CRLStoreSelector selector) throws StoreException
selector
- The CRL selector to use to find the CRLs.StoreException