This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.security.cert
class LDAPCertStoreParameters

java.lang.Object extended by java.security.cert.LDAPCertStoreParameters
All Implemented Interfaces:
CertStoreParameters

public class LDAPCertStoreParameters
extends Object
implements CertStoreParameters

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.


Constructor Summary

          Creates an instance of LDAPCertStoreParameters with the default parameter values (server name "localhost", port 389).

          Creates an instance of LDAPCertStoreParameters with the specified server name and a default port of 389.
LDAPCertStoreParameters(String serverName, int port)

          Creates an instance of LDAPCertStoreParameters with the specified parameter values.
 
Method Summary
 Object

          Returns a copy of this object.
 int

          Returns the port number of the LDAP server.
 String

          Returns the DNS name of the LDAP server.
 String

          Returns a formatted string describing the parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPCertStoreParameters

public LDAPCertStoreParameters()
Creates an instance of LDAPCertStoreParameters with the default parameter values (server name "localhost", port 389).


LDAPCertStoreParameters

public LDAPCertStoreParameters(String serverName)
Creates an instance of LDAPCertStoreParameters with the specified server name and a default port of 389.

Parameters:
serverName - the DNS name of the LDAP server

LDAPCertStoreParameters

public LDAPCertStoreParameters(String serverName,
                               int port)
Creates an instance of LDAPCertStoreParameters with the specified parameter values.

Parameters:
serverName - the DNS name of the LDAP server
port - the port number of the LDAP server
Method Detail

clone

public Object clone()
Returns a copy of this object. Changes to the copy will not affect the original and vice versa.

Note: this method currently performs a shallow copy of the object (simply calls Object.clone()). This may be changed in a future revision to perform a deep copy if new parameters are added that should not be shared.

Overrides:
clone in class Object
Returns:
the copy

getPort

public int getPort()
Returns the port number of the LDAP server.

Returns:
the port number

getServerName

public String getServerName()
Returns the DNS name of the LDAP server.

Returns:
the name (not null)

toString

public String toString()
Returns a formatted string describing the parameters.

Overrides:
toString in class Object
Returns:
a formatted string describing the parameters


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.