CertStore algorithm.
This class is used to provide necessary configuration parameters (server
name and port number) to implementations of the LDAP CertStore
algorithm. However, if you are retrieving certificates or CRLs from
an ldap URI as specified by RFC 5280, use the
URICertStoreParameters
instead, as the URI may contain additional information such as the
distinguished name that will help the LDAP CertStore find the specific
certificates and CRLs.
Concurrent Access
Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.
CertStore
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final int | port
the port number of the LDAP server |
| private final String | serverName
the DNS name of the LDAP server |
| Access | Constructor and Description |
|---|---|
| public | LDAPCertStoreParameters(String
the DNS name of the LDAP server serverName, int the port number of the LDAP server port)Creates an instance of |
| public | LDAPCertStoreParameters(String
the DNS name of the LDAP server serverName)Creates an instance of |
| public | LDAPCertStoreParameters()
Creates an instance of |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the copyOverrides java. Implements java. Returns a copy of this object. |
| public int | |
| public String | |
| public String | Returns: a formatted string describing the parametersOverrides java. Returns a formatted string describing the parameters. |
| LDAP_DEFAULT_PORT | back to summary |
|---|---|
| private static final int LDAP_DEFAULT_PORT | |
| port | back to summary |
|---|---|
| private final int port the port number of the LDAP server | |
| serverName | back to summary |
|---|---|
| private final String serverName the DNS name of the LDAP server | |
| LDAPCertStoreParameters | back to summary |
|---|---|
| public LDAPCertStoreParameters(String serverName, int port) Creates an instance of
| |
| LDAPCertStoreParameters | back to summary |
|---|---|
| public LDAPCertStoreParameters(String serverName) Creates an instance of
| |
| LDAPCertStoreParameters | back to summary |
|---|---|
| public LDAPCertStoreParameters() Creates an instance of | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements java. Returns a copy of this object. Changes to the copy will not affect the original and vice versa. Note this method currently performs a shallow copy of the object
(simply calls
| |
| getPort | back to summary |
|---|---|
| public int getPort() Returns the port number of the LDAP server.
| |
| getServerName | back to summary |
|---|---|
| public String getServerName() Returns the DNS name of the LDAP server.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a formatted string describing the parameters.
| |