Team LiB
Previous Section Next Section

LDAPCertStoreParametersjava.security.cert

Java 1.4cloneable

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( );  
}

    Team LiB
    Previous Section Next Section