javax.net.ssl

Class CertPathTrustManagerParameters

  1. java.lang.Object
  2. extended byjavax.net.ssl.CertPathTrustManagerParameters
All implemented interfaces:
ManagerFactoryParameters

  1. public class CertPathTrustManagerParameters
  2. extends Object
  3. implements ManagerFactoryParameters
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.

Since:
1.5
See Also:
X509TrustManager, TrustManagerFactory, CertPathParameters

Constructor Summary

Constructor and Description
CertPathTrustManagerParameters(CertPathParameters parameters)
Construct new CertPathTrustManagerParameters from the specified parameters.

Method Summary

Modifier and Type Method and Description
  1. CertPathParameters
getParameters()
Return a clone of the CertPathParameters encapsulated by this class.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CertPathTrustManagerParameters

  1. public CertPathTrustManagerParameters( CertPathParameters parameters)
Construct new CertPathTrustManagerParameters from the specified parameters. The parameters are cloned to protect against subsequent modification.
Parameters:
parameters - the CertPathParameters to be used
Throws:
NullPointerException - if parameters is null

Method Detail

getParameters

  1. public CertPathParameters getParameters( )
Return a clone of the CertPathParameters encapsulated by this class.
Returns:
a clone of the CertPathParameters encapsulated by this class.