APIdia Launch Partner
Top Description Fields Constructors Methods
javax.net.ssl

public Class CertPathTrustManagerParameters

extends Object
implements ManagerFactoryParameters
Class Inheritance
All Implemented Interfaces
javax.net.ssl.ManagerFactoryParameters
Imports
java.security.cert.CertPathParameters

A wrapper for CertPathParameters. This class is used to pass validation settings to CertPath based TrustManagers using the TrustManagerFactory.init() method.

Instances of this class are immutable.

Author
Andreas Sterbenz
Since
1.5
See Also
X509TrustManager, TrustManagerFactory, java.security.cert.CertPathParameters

Field Summary

Modifier and TypeField and Description
private final CertPathParameters

Constructor Summary

AccessConstructor and Description
public
CertPathTrustManagerParameters(CertPathParameters
the CertPathParameters to be used
parameters
)

Construct new CertPathTrustManagerParameters from the specified parameters.

Method Summary

Modifier and TypeMethod and Description
public CertPathParameters

Returns:

a clone of the CertPathParameters encapsulated by this class.
getParameters
()

Return a clone of the CertPathParameters encapsulated by this class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parametersback to summary
private final CertPathParameters parameters

Constructor Detail

CertPathTrustManagerParametersback to summary
public CertPathTrustManagerParameters(CertPathParameters parameters)

Construct new CertPathTrustManagerParameters from the specified parameters. The parameters are cloned to protect against subsequent modification.

Parameters
parameters:CertPathParameters

the CertPathParameters to be used

Exceptions
NullPointerException:
if parameters is null

Method Detail

getParametersback to summary
public CertPathParameters getParameters()

Return a clone of the CertPathParameters encapsulated by this class.

Returns:CertPathParameters

a clone of the CertPathParameters encapsulated by this class.