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!