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 X509CertSelector is given with that details. For
CRLs, CA certificates and cross certificates a coarse search is made only for
entries with that content to get more possibly matching results.
| Modifier and Type | Field and Description |
|---|---|
| private static String[] | |
| private static String | LDAP_PROVIDER
Initial Context Factory. |
| 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 Set | certSubjectSerialSearch(X509CertSelector xselector, String[] attrs, String attrName, String subjectAttributeName)
|
| private DirContext | |
| public Collection | engineGetCertificates(CertSelector
A selector)CertSelector used to select which
Certificates should be returned. Specify null
to return all Certificates (if supported).Implements abstract java. Returns a |
| public Collection | engineGetCRLs(CRLSelector
A selector)CRLSelector used to select which
CRLs should be returned. Specify null
to return all CRLs (if supported).Implements abstract java. Returns a |
| private String | Returns: a properly escaped representation of the supplied value.the value to escape. value)Escape a value for use in a filter. |
| private Set | |
| private Set | |
| private Set | |
| private String | |
| private Set | Returns: Set of byte arrays with the certificate encodings.The attribute name to look for in the LDAP. attributeName, String The value the attribute name must have. attributeValue, String[] The attributes in the LDAP which hold the certificate,
certificate pair or CRL in a found entry. attrs)Returns a Set of byte arrays with the certificate or CRL encodings. |
| FILTER_ESCAPE_TABLE | back to summary |
|---|---|
| private static String[] FILTER_ESCAPE_TABLE | |
| LDAP_PROVIDER | back to summary |
|---|---|
| private static String LDAP_PROVIDER Initial Context Factory. | |
| 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. | |
| X509LDAPCertStoreSpi | back to summary |
|---|---|
| public X509LDAPCertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException | |
| certSubjectSerialSearch | back to summary |
|---|---|
| private Set | |
| connectLDAP | back to summary |
|---|---|
| private DirContext connectLDAP() throws NamingException | |
| engineGetCertificates | back to summary |
|---|---|
| public Collection Implements abstract java. Doc from java. Returns a
For some
Some
| |
| engineGetCRLs | back to summary |
|---|---|
| public Collection Implements abstract java. Doc from java. Returns a
For some
Some
| |
| filterEncode | back to summary |
|---|---|
| private String filterEncode(String value) Escape a value for use in a filter. | |
| getCACertificates | back to summary |
|---|---|
| private Set | |
| getCrossCertificates | back to summary |
|---|---|
| private Set | |
| getEndCertificates | back to summary |
|---|---|
| private Set | |
| parseDN | back to summary |
|---|---|
| private String parseDN(String subject, String subjectAttributeName) | |
| search | back to summary |
|---|---|
| private Set Returns a Set of byte arrays with the certificate or CRL encodings.
| |