At first a search is performed in the ldap*AttributeNames of the
org. with the given
information of the subject (for all kind of certificates) or issuer (for
CRLs), respectively, if a org. or
org. is given with that
details.
For the used schemes see:
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private static int | |
| private static String | LDAP_PROVIDER
Initial Context Factory. |
| private static long | |
| private X509LDAPCertStoreParameters | |
| private static String | REFERRALS_IGNORE
Processing referrals.. |
| private static final String | SEARCH_SECURITY_LEVEL
Security level to be used for LDAP connections. |
| private static final String | URL_CONTEXT_PREFIX
Package Prefix for loading URL context factories. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private synchronized void | |
| private List | Returns: A list of found DER encoded attribute certificates.The selector with the search criteria. xselector, String[] Attributes which contain the attribute certificates in the
LDAP directory. attrs, String[] Attribute names in the LDAP directory which correspond to the
subjectAttributeNames. attrNames, String[] Subject attribute names (like "CN", "O", "OU") to use to
search in the LDAP directory subjectAttributeNames)
References Deprecated
X509AttributeCertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Can use the entityName of the holder of the attribute certificate, the serialNumber of attribute certificate and the serialNumber of the associated certificate of the given of the X509AttributeCertSelector. |
| private List | Returns: A list of found DER encoded certificates.The selector with the search criteria. xselector, String[] Attributes which contain the certificates in the LDAP
directory. attrs, String[] Attribute names in teh LDAP directory which correspond to the
subjectAttributeNames. attrNames, String[] Subject attribute names (like "CN", "O", "OU") to use to
search in the LDAP directory subjectAttributeNames)
References Deprecated
X509CertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Can use the subject and serial and the subject and serialNumber of the certificate of the given of the X509CertStoreSelector. |
| private DirContext | |
| private Set | createAttributeCertificates(List<E> list, X509AttributeCertStoreSelector xselector)
References Deprecated
X509AttributeCertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private Set | createCerts(List<E> list, X509CertStoreSelector xselector)
References Deprecated
X509CertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private Set | |
| private Set | |
| private List | Returns: A list of found DER encoded CRLs.The selector with the search criteria. xselector, String[] Attributes which contain the attribute certificates in the
LDAP directory. attrs, String[] Attribute names in the LDAP directory which correspond to the
subjectAttributeNames. attrNames, String[] Issuer attribute names (like "CN", "O", "OU") to use to search
in the LDAP directory issuerAttributeNames)Can use the issuer of the given of the X509CRLStoreSelector. |
| private List | Returns: A list of found DER encoded certificate pairs.The selector with the search criteria. xselector, String[] Attributes which contain the attribute certificates in the
LDAP directory. attrs, String[] Attribute names in the LDAP directory which correspond to the
subjectAttributeNames. attrNames, String[] Subject attribute names (like "CN", "O", "OU") to use to
search in the LDAP directory subjectAttributeNames)Can use the subject of the forward certificate of the set certificate
pair or the subject of the forward
|
| public Collection | Returns: A possible empty collection with attribute certificates.The selector to find the attribute certificates. selector)
References Deprecated
X509AttributeCertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Returns attribute certificates for an attribute authority The aAcertificate holds the privileges of an attribute authority. |
| public Collection | Returns: A possible empty collection with CRLsThe CRL selector to use to find the CRLs. selector)Returns the revocation list for revoked attribute certificates for an attribute authority The attributeAuthorityList holds a list of AA certificates that have been revoked. |
| public Collection | Returns: A possible empty collection with attribute certificates.The selector to find the attribute certificates. selector)
References Deprecated
X509AttributeCertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Returns an attribute certificate for an user. |
| public Collection | Returns: A possible empty collection with CRLs.The CRL selector to use to find the CRLs. selector)Returns the revocation list for revoked attribute certificates. |
| public Collection | Returns: A possible empty collection with attribute certificates.The selector to find the attribute certificates. selector)
References Deprecated
X509AttributeCertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Returns an attribute certificate for an authority The attributeDescriptorCertificate is self signed by a source of authority and holds a description of the privilege and its delegation rules. |
| public Collection | Returns: A possible empty collection with CRLsThe CRL selector to use to find the CRLs. selector)Returns the CRLs for issued certificates for other CAs matching the given selector. |
| public Collection | Returns: A possible empty collection with certificates.The selector to find the certificates. selector)
References Deprecated
X509CertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Returns CA certificates. |
| private X500Principal | |
| public Collection | Returns: A possible empty collection with CRLs.The CRL selector to use to find the CRLs. selector)Returns the certificate revocation lists for revoked certificates. |
| public Collection | Returns: A possible empty collection withX509CertificatePairsThe selector to use to find the cross certificates. selector)Returns cross certificate pairs. |
| public Collection | Returns: A possible empty collection with CRLs.The CRL selector to use to find the CRLs. selector)Returns the delta revocation list for revoked certificates. |
| private List | |
| private String | getSubjectAsString(X509CertStoreSelector xselector)
References Deprecated
X509CertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public Collection | Returns: A possible empty collection with certificates.The selector to find the certificates. selector)
References Deprecated
X509CertStoreSelector is deprecated or references (maybe indirectly) at least one deprecated element.
Returns end certificates. |
| private String | |
| private List | Returns: AList of byte arrays with the encodings.The attribute names to look for in the LDAP. attributeNames, String The value the attribute name must have. attributeValue, String[] The attributes in the LDAP which hold the certificate,
attribute certificate, certificate pair or CRL in a found
entry. attrs)Returns a |
| private String[] |
| cacheMap | back to summary |
|---|---|
| private Map<K, V> cacheMap | |
| cacheSize | back to summary |
|---|---|
| private static int cacheSize | |
| LDAP_PROVIDER | back to summary |
|---|---|
| private static String LDAP_PROVIDER Initial Context Factory. | |
| lifeTime | back to summary |
|---|---|
| private static long lifeTime | |
| params | back to summary |
|---|---|
| private X509LDAPCertStoreParameters params | |
| REFERRALS_IGNORE | back to summary |
|---|---|
| private static String REFERRALS_IGNORE Processing referrals.. | |
| SEARCH_SECURITY_LEVEL | back to summary |
|---|---|
| private static final String SEARCH_SECURITY_LEVEL Security level to be used for LDAP connections. | |
| URL_CONTEXT_PREFIX | back to summary |
|---|---|
| private static final String URL_CONTEXT_PREFIX Package Prefix for loading URL context factories. | |
| LDAPStoreHelper | back to summary |
|---|---|
| public LDAPStoreHelper(X509LDAPCertStoreParameters params) | |
| addToCache | back to summary |
|---|---|
| private synchronized void addToCache(String searchCriteria, List<E> list) | |
| attrCertSubjectSerialSearch | back to summary |
|---|---|
| private List References Deprecated
See corresponding docs for further information. Can use the entityName of the holder of the attribute certificate, the serialNumber of attribute certificate and the serialNumber of the associated certificate of the given of the X509AttributeCertSelector.
| |
| certSubjectSerialSearch | back to summary |
|---|---|
| private List References Deprecated
See corresponding docs for further information. Can use the subject and serial and the subject and serialNumber of the certificate of the given of the X509CertStoreSelector. If a certificate for checking is given this has higher precedence.
| |
| connectLDAP | back to summary |
|---|---|
| private DirContext connectLDAP() throws NamingException | |
| createAttributeCertificates | back to summary |
|---|---|
| private Set References Deprecated
See corresponding docs for further information. | |
| createCerts | back to summary |
|---|---|
| private Set References Deprecated
See corresponding docs for further information. | |
| createCRLs | back to summary |
|---|---|
| private Set | |
| createCrossCertificatePairs | back to summary |
|---|---|
| private Set | |
| cRLIssuerSearch | back to summary |
|---|---|
| private List Can use the issuer of the given of the X509CRLStoreSelector.
| |
| crossCertificatePairSubjectSearch | back to summary |
|---|---|
| private List Can use the subject of the forward certificate of the set certificate
pair or the subject of the forward
| |
| getAACertificates | back to summary |
|---|---|
| public Collection References Deprecated
See corresponding docs for further information. Returns attribute certificates for an attribute authority The aAcertificate holds the privileges of an attribute authority.
| |
| getAttributeAuthorityRevocationLists | back to summary |
|---|---|
| public Collection Returns the revocation list for revoked attribute certificates for an attribute authority The attributeAuthorityList holds a list of AA certificates that have been revoked.
| |
| getAttributeCertificateAttributes | back to summary |
|---|---|
| public Collection References Deprecated
See corresponding docs for further information. Returns an attribute certificate for an user. The attributeCertificateAttribute holds the privileges of a user
| |
| getAttributeCertificateRevocationLists | back to summary |
|---|---|
| public Collection Returns the revocation list for revoked attribute certificates. The attributeCertificateRevocationList holds a list of attribute certificates that have been revoked.
| |
| getAttributeDescriptorCertificates | back to summary |
|---|---|
| public Collection References Deprecated
See corresponding docs for further information. Returns an attribute certificate for an authority The attributeDescriptorCertificate is self signed by a source of authority and holds a description of the privilege and its delegation rules.
| |
| getAuthorityRevocationLists | back to summary |
|---|---|
| public Collection Returns the CRLs for issued certificates for other CAs matching the given
selector.
| |
| getCACertificates | back to summary |
|---|---|
| public Collection References Deprecated
See corresponding docs for further information. Returns CA certificates. 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.
| |
| getCertificateIssuer | back to summary |
|---|---|
| private X500Principal getCertificateIssuer(X509Certificate cert) | |
| getCertificateRevocationLists | back to summary |
|---|---|
| public Collection Returns the certificate revocation lists for revoked certificates.
| |
| getCrossCertificatePairs | back to summary |
|---|---|
| public Collection Returns cross certificate pairs.
| |
| getDeltaCertificateRevocationLists | back to summary |
|---|---|
| public Collection Returns the delta revocation list for revoked certificates.
| |
| getFromCache | back to summary |
|---|---|
| private List | |
| getSubjectAsString | back to summary |
|---|---|
| private String getSubjectAsString(X509CertStoreSelector xselector)
References Deprecated
See corresponding docs for further information. | |
| getUserCertificates | back to summary |
|---|---|
| public Collection References Deprecated
See corresponding docs for further information. Returns end certificates. The attributeDescriptorCertificate is self signed by a source of authority and holds a description of the privilege and its delegation rules.
| |
| parseDN | back to summary |
|---|---|
| private String parseDN(String subject, String dNAttributeName) | |
| search | back to summary |
|---|---|
| private List Returns a
| |
| splitString | back to summary |
|---|---|
| private String[] splitString(String str) | |