|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--java.security.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(String serverName,
int port)
Creates an instance of LDAPCertStoreParameters with the
specified parameter values. |
|
| Method Summary | |
Object |
clone()
Returns a copy of this object. |
boolean |
equals(Object other)
Compares this object for equality with the specified object. |
int |
getPort()
Returns the port number of the LDAP server. |
String |
getServerName()
Returns the DNS name of the LDAP server. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setPort(int port)
Sets the port number of the LDAP server. |
void |
setServerName(String serverName)
Sets the DNS name of the LDAP server. |
String |
toString()
Returns a formatted string describing the parameters. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LDAPCertStoreParameters(String serverName,
int port)
LDAPCertStoreParameters with the
specified parameter values.serverName - the DNS name of the LDAP serverport - the port number of the LDAP serverNullPointerException - if serverName is
nullpublic LDAPCertStoreParameters()
LDAPCertStoreParameters with the
default parameter values (server name "localhost", port 389).| Method Detail |
public void setServerName(String serverName)
serverName - the nameNullPointerException - if serverName is
nullpublic String getServerName()
null)public void setPort(int port)
port - the port numberpublic int getPort()
public Object clone()
clone in interface CertStoreParametersclone in class Objectpublic boolean equals(Object other)
LDAPCertStoreParameters
object, we return false. Otherwise, we return
true if the parameters are equal.equals in class Objectother - the object to test for equalitytrue if the objects are equal, false
otherwisepublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||