JavaTM 2 Platform
Standard Ed. 6

javax.net.ssl
类 CertPathTrustManagerParameters

java.lang.Object
  继承者 javax.net.ssl.CertPathTrustManagerParameters
所有已实现的接口:
ManagerFactoryParameters

public class CertPathTrustManagerParameters
extends Object
implements ManagerFactoryParameters

CertPathParameters 的包装器。使用 TrustManagerFactory.init() 方法,此类被用来向基于 TrustManager 的 CertPath 传递验证设置。

此类的实例是不可变的。

从以下版本开始:
1.5
另请参见:
X509TrustManager, TrustManagerFactory, CertPathParameters

构造方法摘要
CertPathTrustManagerParameters(CertPathParameters parameters)
          根据指定的 parameters 构造新的 CertPathTrustManagerParameters。
 
方法摘要
 CertPathParameters getParameters()
          返回此类封装的 CertPathParameters 的副本。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CertPathTrustManagerParameters

public CertPathTrustManagerParameters(CertPathParameters parameters)
根据指定的 parameters 构造新的 CertPathTrustManagerParameters。复制该 parameters,以防止后续修改。

参数:
parameters - 要使用的 CertPathParameters
抛出:
NullPointerException - 如果 parameters 为 null
方法详细信息

getParameters

public CertPathParameters getParameters()
返回此类封装的 CertPathParameters 的副本。

返回:
此类封装的 CertPathParameters 的副本。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策