java.security.cert

Class LDAPCertStoreParameters

public class LDAPCertStoreParameters extends Object implements CertStoreParameters

Parameters for CertStores that are retrieved via the lightweight directory access protocol (LDAP).

See Also: CertStore

Constructor Summary
LDAPCertStoreParameters()
Create a new LDAPCertStoreParameters object, with a servername of "localhost" and a port of 389.
LDAPCertStoreParameters(String serverName)
Create a new LDAPCertStoreParameters object, with a specified server name and a port of 389.
LDAPCertStoreParameters(String serverName, int port)
Create a new LDAPCertStoreParameters object, with a specified server name and port.
Method Summary
Objectclone()
intgetPort()
Return the port.
StringgetServerName()
Return the server name.
StringtoString()
Return a string representation of these parameters.

Constructor Detail

LDAPCertStoreParameters

public LDAPCertStoreParameters()
Create a new LDAPCertStoreParameters object, with a servername of "localhost" and a port of 389.

LDAPCertStoreParameters

public LDAPCertStoreParameters(String serverName)
Create a new LDAPCertStoreParameters object, with a specified server name and a port of 389.

Parameters: serverName The LDAP server name.

Throws: NullPointerException If serverName is null.

LDAPCertStoreParameters

public LDAPCertStoreParameters(String serverName, int port)
Create a new LDAPCertStoreParameters object, with a specified server name and port.

Parameters: serverName The LDAP server name. port The LDAP port.

Throws: NullPointerException If serverName is null.

Method Detail

clone

public Object clone()

getPort

public int getPort()
Return the port.

Returns: the port.

getServerName

public String getServerName()
Return the server name.

Returns: The server name.

toString

public String toString()
Return a string representation of these parameters.

Returns: The string representation of these parameters.