Name
CertPathParameters
Synopsis
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(
)
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.