Edit

Share via


SecCertificate Constructors

Definition

Overloads

SecCertificate(NSData)

Initialize this instance from an NSData buffer containing a, DER-encoded, X.509 certificate.

SecCertificate(Byte[])

Initialize this instance from a raw, DER-encoded, X.509 certificate byte array

SecCertificate(IntPtr)
SecCertificate(X509Certificate)

Initialize this instance from an existing X509Certificate instance.

SecCertificate(X509Certificate2)

Initialize this instance from an existing X509Certificate2 instance.

SecCertificate(NSData)

Initialize this instance from an NSData buffer containing a, DER-encoded, X.509 certificate.

public SecCertificate (Foundation.NSData data);
new Security.SecCertificate : Foundation.NSData -> Security.SecCertificate

Parameters

data
NSData

X.509 certificate data inside an NSData instance.

Applies to

SecCertificate(Byte[])

Initialize this instance from a raw, DER-encoded, X.509 certificate byte array

public SecCertificate (byte[] data);
new Security.SecCertificate : byte[] -> Security.SecCertificate

Parameters

data
Byte[]

Raw certificate data.

Applies to

SecCertificate(IntPtr)

public SecCertificate (IntPtr handle);
new Security.SecCertificate : nativeint -> Security.SecCertificate

Parameters

handle
IntPtr

nativeint

Applies to

SecCertificate(X509Certificate)

Initialize this instance from an existing X509Certificate instance.

public SecCertificate (System.Security.Cryptography.X509Certificates.X509Certificate certificate);
new Security.SecCertificate : System.Security.Cryptography.X509Certificates.X509Certificate -> Security.SecCertificate

Parameters

certificate
X509Certificate

a valid X509Certificate instance

Applies to

SecCertificate(X509Certificate2)

Initialize this instance from an existing X509Certificate2 instance.

public SecCertificate (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new Security.SecCertificate : System.Security.Cryptography.X509Certificates.X509Certificate2 -> Security.SecCertificate

Parameters

certificate
X509Certificate2

a valid X509Certificate2 instance

Applies to