JavaTM 2 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 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。