KeyStore.TrustedCertificateEntry 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| KeyStore.TrustedCertificateEntry(Certificate) |
構造 a |
| KeyStore.TrustedCertificateEntry(Certificate, ICollection<KeyStore.IEntryAttribute>) |
構造 |
KeyStore.TrustedCertificateEntry(Certificate)
構造 a 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
- 屬性
例外狀況
若 trustCertificate 是 null。
備註
構造 a TrustedCertificateEntry 與可信 Certificate的 。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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版本。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。