Most visited

Recently visited

Added in API level 1

KeyStore.TrustedCertificateEntry

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

java.lang.Object
    java.security.KeyStore.TrustedCertificateEntry


包含可信 Certificate KeyStore条目。

摘要(Summary)

Public constructors

KeyStore.TrustedCertificateEntry(Certificate trustedCert)

构造一个 TrustedCertificateEntry与信任的 Certificate 。

公共方法(Public methods)

Certificate getTrustedCertificate()

从此条目获取受信任的 Certficate 。

String toString()

返回此TrustedCertificateEntry的字符串表示形式。

继承方法(Inherited methods)

From class java.lang.Object

Public constructors

KeyStore.TrustedCertificateEntry

Added in API level 1
KeyStore.TrustedCertificateEntry (Certificate trustedCert)

构造一个 TrustedCertificateEntry与信任的 Certificate 。

参数(Parameters)
trustedCert Certificate: the trusted Certificate
抛出异常(Throws)
NullPointerException if trustedCert is null

公共方法(Public methods)

getTrustedCertificate

Added in API level 1
Certificate getTrustedCertificate ()

从此条目获取受信任的 Certficate 。

返回(Returns)
Certificate the trusted Certificate from this entry

toString

Added in API level 1
String toString ()

返回此TrustedCertificateEntry的字符串表示形式。

返回(Returns)
String a string representation of this TrustedCertificateEntry.

Hooray!