Name
LDAPCertStoreParameters
Synopsis
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( ); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.