SecCertificate Class

Definition

Represents digital certificates on iOS/OSX.

public class SecCertificate : IDisposable, ObjCRuntime.INativeObject
type SecCertificate = class
    interface INativeObject
    interface IDisposable
Inheritance
SecCertificate
Implements

Constructors

SecCertificate(Byte[])

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

SecCertificate(IntPtr)
SecCertificate(NSData)

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

SecCertificate(X509Certificate)

Initialize this instance from an existing X509Certificate instance.

SecCertificate(X509Certificate2)

Initialize this instance from an existing X509Certificate2 instance.

Properties

DerData

Returns a Distinguished Encoding Rules (DER) representation of the certificate.

Handle

Handle (pointer) to the unmanaged object representation.

SubjectSummary

Human readable summary of the certificate.

Methods

Dispose()

Releases the resources used by the SecCertificate object.

Dispose(Boolean)

Releases the resources used by the SecCertificate object.

Finalize()

Finalizer for the SecCertificate object

GetCommonName()
GetEmailAddresses()
GetKey()
GetNormalizedIssuerSequence()
GetNormalizedSubjectSequence()
GetPublicKey()
GetSerialNumber()

Developers should not use this deprecated method. Developers should use 'GetSerialNumber(out NSError)' instead.

GetSerialNumber(NSError)
GetTypeID()

Type identifier for the Security.SecCertificate type.

ToX509Certificate()
ToX509Certificate2()

Applies to