Condividi tramite


KeyStore.TrustedCertificateEntry Constructors

Definition

Overloads

KeyStore.TrustedCertificateEntry(Certificate)

Constructs a TrustedCertificateEntry with a trusted Certificate.

KeyStore.TrustedCertificateEntry(Certificate, ICollection<KeyStore.IEntryAttribute>)

Constructs a TrustedCertificateEntry with a trusted Certificate and associated entry attributes.

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.

Java documentation for java.security.KeyStore.TrustedCertificateEntry.KeyStore$TrustedCertificateEntry(java.security.cert.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.

Java documentation for java.security.KeyStore.TrustedCertificateEntry.KeyStore$TrustedCertificateEntry(java.security.cert.Certificate, java.util.Set<java.security.KeyStore.Entry.Attribute>).

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