Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 578
نمايش فراداده

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