|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.jce.cert.LDAPCertStoreParameters
Parameters used as input for the LDAP CertStore algorithm.
This class is used to provide necessary configuration parameters (server
name and port number) to implementations of the LDAP CertStore
algorithm.
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
Constructor Summary | |
LDAPCertStoreParameters()
Creates an instance of LDAPCertStoreParameters with the default parameter values (server name "localhost", port 389). |
|
LDAPCertStoreParameters(java.lang.String serverName)
Creates an instance of LDAPCertStoreParameters with the specified server name and a default port of 389. |
|
LDAPCertStoreParameters(java.lang.String serverName,
int port)
Creates an instance of LDAPCertStoreParameters with the specified parameter values. |
Method Summary | |
java.lang.Object |
clone()
Returns a copy of this object. |
int |
getPort()
Returns the port number of the LDAP server. |
java.lang.String |
getServerName()
Returns the DNS name of the LDAP server. |
java.lang.String |
toString()
Returns a formatted string describing the parameters. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPCertStoreParameters()
public LDAPCertStoreParameters(java.lang.String serverName)
serverName
- the DNS name of the LDAP serverNullPointerException
- if serverName is nullpublic LDAPCertStoreParameters(java.lang.String serverName, int port)
serverName
- the DNS name of the LDAP serverport
- the port number of the LDAP serverNullPointerException
- if serverName is nullMethod Detail |
public java.lang.String getServerName()
public int getPort()
public java.lang.Object clone()
clone
in interface CertStoreParameters
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |