JavaTM Platform
Standard Ed. 6

java.security
类 KeyStore.TrustedCertificateEntry

java.lang.Object
  继承者 java.security.KeyStore.TrustedCertificateEntry
所有已实现的接口:
KeyStore.Entry
正在封闭类:
KeyStore

public static final class KeyStore.TrustedCertificateEntry
extends Object
implements KeyStore.Entry

保存可信的 Certificate 的 KeyStore 项。

从以下版本开始:
1.5

构造方法摘要
KeyStore.TrustedCertificateEntry(Certificate trustedCert)
          用可信 Certificate 构造 TrustedCertificateEntry。
 
方法摘要
 Certificate getTrustedCertificate()
          从此项获取可信 Certficate。
 String toString()
          返回此 TrustedCertificateEntry 的字符串表示形式。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

KeyStore.TrustedCertificateEntry

public KeyStore.TrustedCertificateEntry(Certificate trustedCert)
用可信 Certificate 构造 TrustedCertificateEntry。

参数:
trustedCert - 可信 Certificate
抛出:
NullPointerException - 如果 trustedCert 为 null。
方法详细信息

getTrustedCertificate

public Certificate getTrustedCertificate()
从此项获取可信 Certficate。

返回:
此项中的可信 Certificate。

toString

public String toString()
返回此 TrustedCertificateEntry 的字符串表示形式。

覆盖:
类 Object 中的 toString
返回:
此 TrustedCertificateEntry 的字符串表示形式。

JavaTM Platform
Standard Ed. 6

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

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