Android APIs
public class

LDAPCertStoreParameters

extends Object
implements CertStoreParameters
java.lang.Object
   ↳ java.security.cert.LDAPCertStoreParameters

Class Overview

The parameters to initialize a LDAP CertStore instance.

Summary

Public Constructors
LDAPCertStoreParameters(String serverName, int port)
Creates a new LDAPCertStoreParameters instance with the specified server name and port.
LDAPCertStoreParameters()
Creates a new LDAPCertStoreParameters instance with default parameters.
LDAPCertStoreParameters(String serverName)
Creates a new LDAPCertStoreParameters instance with the specified server name and default port 389.
Public Methods
Object clone()
Clones this LDAPCertStoreParameters instance.
int getPort()
Returns the LDAP server port.
String getServerName()
Returns the LDAP server name.
String toString()
Returns the string representation of this LDAPCertStoreParameters instance.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.cert.CertStoreParameters

Public Constructors

public LDAPCertStoreParameters (String serverName, int port)

Added in API level 1

Creates a new LDAPCertStoreParameters instance with the specified server name and port.

Parameters
serverName String: the LDAP server name.
port int: the port.
Throws
NullPointerException is serverName is null.

public LDAPCertStoreParameters ()

Added in API level 1

Creates a new LDAPCertStoreParameters instance with default parameters.

The default parameters are server name "localhost" and port 389.

public LDAPCertStoreParameters (String serverName)

Added in API level 1

Creates a new LDAPCertStoreParameters instance with the specified server name and default port 389.

Parameters
serverName String: the LDAP server name.
Throws
NullPointerException if serverName is null.

Public Methods

public Object clone ()

Added in API level 1

Clones this LDAPCertStoreParameters instance.

Returns
Object the cloned instance.

public int getPort ()

Added in API level 1

Returns the LDAP server port.

Returns
int the LDAP server port.

public String getServerName ()

Added in API level 1

Returns the LDAP server name.

Returns
String the LDAP server name.

public String toString ()

Added in API level 1

Returns the string representation of this LDAPCertStoreParameters instance.

Returns
String the string representation of this LDAPCertStoreParameters instance.