Skip to content

Most visited

Recently visited

navigation
Added in API level 1

LDAPCertStoreParameters

public class LDAPCertStoreParameters
extends Object implements CertStoreParameters

java.lang.Object
   ↳ java.security.cert.LDAPCertStoreParameters


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.

Inherited methods

From class java.lang.Object
From interface java.security.cert.CertStoreParameters

Public constructors

LDAPCertStoreParameters

Added in API level 1
LDAPCertStoreParameters (String serverName, 
                int port)

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.

LDAPCertStoreParameters

Added in API level 1
LDAPCertStoreParameters ()

Creates a new LDAPCertStoreParameters instance with default parameters.

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

LDAPCertStoreParameters

Added in API level 1
LDAPCertStoreParameters (String serverName)

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

clone

Added in API level 1
Object clone ()

Clones this LDAPCertStoreParameters instance.

Returns
Object the cloned instance.

getPort

Added in API level 1
int getPort ()

Returns the LDAP server port.

Returns
int the LDAP server port.

getServerName

Added in API level 1
String getServerName ()

Returns the LDAP server name.

Returns
String the LDAP server name.

toString

Added in API level 1
String toString ()

Returns the string representation of this LDAPCertStoreParameters instance.

Returns
String the string representation of this LDAPCertStoreParameters instance.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.