KeyStore.TrustedCertificateEntry 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| KeyStore.TrustedCertificateEntry(Certificate) |
构造 |
| KeyStore.TrustedCertificateEntry(Certificate, ICollection<KeyStore.IEntryAttribute>) |
|
KeyStore.TrustedCertificateEntry(Certificate)
构造 TrustedCertificateEntry 一个具有受信任 Certificate值 。
[Android.Runtime.Register(".ctor", "(Ljava/security/cert/Certificate;)V", "")]
public TrustedCertificateEntry(Java.Security.Cert.Certificate? trustedCert);
[<Android.Runtime.Register(".ctor", "(Ljava/security/cert/Certificate;)V", "")>]
new Java.Security.KeyStore.TrustedCertificateEntry : Java.Security.Cert.Certificate -> Java.Security.KeyStore.TrustedCertificateEntry
参数
- trustedCert
- Certificate
受信任的 Certificate
- 属性
例外
如果为 .,则为trustCertificatenull
注解
构造 TrustedCertificateEntry 一个具有受信任 Certificate值 。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
KeyStore.TrustedCertificateEntry(Certificate, ICollection<KeyStore.IEntryAttribute>)
TrustedCertificateEntry构造具有受信任Certificate和关联的条目属性。
[Android.Runtime.Register(".ctor", "(Ljava/security/cert/Certificate;Ljava/util/Set;)V", "", ApiSince=26)]
public TrustedCertificateEntry(Java.Security.Cert.Certificate? trustedCert, System.Collections.Generic.ICollection<Java.Security.KeyStore.IEntryAttribute>? attributes);
[<Android.Runtime.Register(".ctor", "(Ljava/security/cert/Certificate;Ljava/util/Set;)V", "", ApiSince=26)>]
new Java.Security.KeyStore.TrustedCertificateEntry : Java.Security.Cert.Certificate * System.Collections.Generic.ICollection<Java.Security.KeyStore.IEntryAttribute> -> Java.Security.KeyStore.TrustedCertificateEntry
参数
- trustedCert
- Certificate
受信任的 Certificate
- attributes
- ICollection<KeyStore.IEntryAttribute>
属性
- 属性
注解
TrustedCertificateEntry构造具有受信任Certificate和关联的条目属性。
指定 attributes 在存储到新 TrustedCertificateEntry 对象之前克隆。
已在 1.8 中添加。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。