java.lang.Object
java.security.KeyStore.TrustedCertificateEntry
- 所有已实现的接口:
KeyStore.Entry
- 封闭类:
KeyStore
一个
KeyStore 条目包含一个受信任的 Certificate 。
- 自从:
- 1.5
-
内部类总结
在接口 java.security.KeyStore.Entry 中声明的嵌套类/接口
KeyStore.Entry.Attribute -
构造方法总结
构造方法构造方法描述TrustedCertificateEntry(Certificate trustedCert) 构造一个TrustedCertificateEntry和一个受信任的Certificate。TrustedCertificateEntry(Certificate trustedCert, Set<KeyStore.Entry.Attribute> attributes) 构造一个具有受信任的Certificate和相关条目属性的TrustedCertificateEntry。 -
方法总结
-
构造方法详细信息
-
TrustedCertificateEntry
构造一个TrustedCertificateEntry和一个受信任的Certificate。- 参数:
trustedCert- 值得信赖的Certificate- 抛出:
NullPointerException- 如果trustedCert是null
-
TrustedCertificateEntry
构造一个具有受信任的Certificate和相关条目属性的TrustedCertificateEntry。指定的
attributes在存储到新的TrustedCertificateEntry对象之前被克隆。- 参数:
trustedCert- 值得信赖的Certificateattributes- 属性- 抛出:
NullPointerException- 如果trustedCert或attributes是null- 自从:
- 1.8
-
-
方法详情
-
getTrustedCertificate
从此条目中获取受信任的Certificate。- 返回:
-
此条目中受信任的
Certificate
-
getAttributes
检索与条目关联的属性。- 指定者:
getAttributes在接口KeyStore.Entry中- 返回:
-
不可修改的
Set属性,可能为空 - 自从:
- 1.8
-
toString
返回此 TrustedCertificateEntry 的字符串表示形式。
-