public static final class KeyStore.TrustedCertificateEntry
extends Object
implements KeyStore.Entry
java.lang.Object | |
↳ | java.security.KeyStore.TrustedCertificateEntry |
包含可信 Certificate
KeyStore
条目。
Public constructors |
|
---|---|
KeyStore.TrustedCertificateEntry(Certificate trustedCert) 构造一个 |
Public methods |
|
---|---|
Certificate |
getTrustedCertificate() 从此条目获取受信任的 |
String |
toString() 返回此TrustedCertificateEntry的字符串表示形式。 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
KeyStore.TrustedCertificateEntry (Certificate trustedCert)
构造一个 TrustedCertificateEntry
与信任的 Certificate
。
Parameters | |
---|---|
trustedCert |
Certificate : the trusted Certificate |
Throws | |
---|---|
NullPointerException |
if trustedCert is null |
Certificate getTrustedCertificate ()
从此条目获取受信任的 Certficate
。
Returns | |
---|---|
Certificate |
the trusted Certificate from this entry |
String toString ()
返回此TrustedCertificateEntry的字符串表示形式。
Returns | |
---|---|
String |
a string representation of this TrustedCertificateEntry. |