Team LiB
Previous Section Next Section

CertPathParametersjava.security.cert

Java 1.4cloneable

CertPathParamters is a marker interface for objects that hold parameters (such as the set of trust anchors) for validating or building a certification path with CertPathValidator and CertPathBuilder. It defines no methods of its own, but requires that all implementations include a working clone( ) method. You must use an algorithm-specific implementation of this interface, such as PKIXParameters or PKIXBuilderParameters when validating or building a CertPath, and it is rarely useful to work with this interface directly.

Figure 14-56. java.security.cert.CertPathParameters


public interface CertPathParameters extends Cloneable {
// Public Instance Methods
     Object clone( );  
}

Implementations

PKIXParameters

Passed To

CertPathBuilder.build( ), CertPathBuilderSpi.engineBuild( ), CertPathValidator.validate( ), CertPathValidatorSpi.engineValidate( ), javax.net.ssl.CertPathTrustManagerParameters.CertPathTrustManagerParameters( )

Returned By

javax.net.ssl.CertPathTrustManagerParameters.getParameters( )

    Team LiB
    Previous Section Next Section