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) |
|
|---|---|
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. |