Edit

Share via


SecPolicy Class

Definition

Encapsulates a security policy. A policy comprises a set of rules that specify how to evaluate a certificate for a certain level of trust.

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

Constructors

SecPolicy(IntPtr)

Properties

Handle

Handle (pointer) to the unmanaged object representation.

Methods

CreateBasicX509Policy()

Create a policy instance that represent the basic X.509 certificate profile.

CreatePolicy(NSString, NSDictionary)
CreateRevocationPolicy(SecRevocation)
CreateSslPolicy(Boolean, String)

Create a policy instance that represent the SSL/TLS profile.

Dispose()

Releases the resources used by the SecPolicy object.

Dispose(Boolean)

Releases the resources used by the SecPolicy object.

Equals(Object)
Finalize()

Finalizer for the SecPolicy object

GetHashCode()
GetProperties()
GetTypeID()

Type identifier for the Security.SecPolicy type.

Operators

Equality(SecPolicy, SecPolicy)
Inequality(SecPolicy, SecPolicy)

Applies to