Share via


SecIdentity Class

Definition

Encapsulate a security identity. A security identity comprises a certificate and its private key.

public class SecIdentity : CoreFoundation.NativeObject
type SecIdentity = class
    inherit NativeObject
Inheritance

Properties

Name Description
Certificate
Handle (Inherited from DisposableObject)
Owns (Inherited from DisposableObject)
PrivateKey

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
Create(SecCertificate, SecKey)

Create a SecIdentity instance from a certificate and a private key.

Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
GetTypeID()

Type identifier for the Security.SecIdentity type.

Import(Byte[], String)

Create a SecIdentity from PKCS #12 data.

Import(X509Certificate2)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to