public static final class KeyStore.TrustedCertificateEntry extends Object implements KeyStore.Entry
KeyStore进入认为可信的
Certificate。
KeyStore.Entry.Attribute| Constructor and Description |
|---|
TrustedCertificateEntry(Certificate trustedCert)
构建了一个可信的
Certificate
TrustedCertificateEntry。
|
TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes)
构建了一个可信的
Certificate
TrustedCertificateEntry和相关条目属性。
|
| Modifier and Type | Method and Description |
|---|---|
Set<KeyStore.Entry.Attribute> |
getAttributes()
检索与条目关联的属性。
|
Certificate |
getTrustedCertificate()
从这个入口获取可信
Certficate。
|
String |
toString()
返回该trustedcertificateentry字符串表示形式。
|
public TrustedCertificateEntry(Certificate trustedCert)
Certificate
TrustedCertificateEntry。
trustedCert -值得信赖的
Certificate
null
trustedCert
NullPointerException
public TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes)
Certificate
TrustedCertificateEntry和相关条目属性。
克隆之前,它是存储在新的TrustedCertificateEntry对象指定的attributes。
trustedCert -值得信赖的
Certificate
attributes -属性
NullPointerException -如果
trustedCert或
attributes是
null
public Certificate getTrustedCertificate()
Certficate。
Certificate从这个入口
public Set<KeyStore.Entry.Attribute> getAttributes()
getAttributes 接口
KeyStore.Entry
Set,可能是空的
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.