KeyStore.TrustedCertificateEntry Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KeyStore.TrustedCertificateEntry(Certificate) |
Constructs a |
KeyStore.TrustedCertificateEntry(Certificate, ICollection<KeyStore.IEntryAttribute>) |
Constructs a |
KeyStore.TrustedCertificateEntry(Certificate)
Constructs a TrustedCertificateEntry
with a
trusted 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
Parameters
- trustedCert
- Certificate
the trusted Certificate
- Attributes
Exceptions
if trustCertificate
is null
.
Remarks
Constructs a TrustedCertificateEntry
with a trusted Certificate
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
KeyStore.TrustedCertificateEntry(Certificate, ICollection<KeyStore.IEntryAttribute>)
Constructs a TrustedCertificateEntry
with a
trusted Certificate
and associated entry attributes.
[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
Parameters
- trustedCert
- Certificate
the trusted Certificate
- attributes
- ICollection<KeyStore.IEntryAttribute>
the attributes
- Attributes
Remarks
Constructs a TrustedCertificateEntry
with a trusted Certificate
and associated entry attributes.
The specified attributes
is cloned before it is stored in the new TrustedCertificateEntry
object.
Added in 1.8.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.