March 2005
Beginner to intermediate
1254 pages
104h 21m
English
LDAPCertStoreParameters
This
concrete implementation of CertStoreParameters is
used when creating a CertStore object of type
“LDAP”. It specifies the hostname
of the LDAP server to connect to and, optionally, the port to connect
on.
Figure 14-65. java.security.cert.LDAPCertStoreParameters
public class LDAPCertStoreParameters implements CertStoreParameters { // Public Constructors public LDAPCertStoreParameters( ); public LDAPCertStoreParameters(String serverName); public LDAPCertStoreParameters(String serverName, int port); // Public Instance Methods public int getPort( ); default:389 public String getServerName( ); default:"localhost" // Methods Implementing CertStoreParameters public Object clone( ); // Public Methods Overriding Object public String toString( ); }
Read now
Unlock full access