SecPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : CoreFoundation.NativeObject
type SecPolicy = class
inherit NativeObject
- Inheritance
Properties
| Name | Description |
|---|---|
| Handle | (Inherited from DisposableObject) |
| Owns | (Inherited from DisposableObject) |
Methods
| Name | Description |
|---|---|
| ClearHandle() | (Inherited from DisposableObject) |
| 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() | (Inherited from DisposableObject) |
| Dispose(Boolean) | (Inherited from NativeObject) |
| Equals(Object) | (Inherited from DisposableObject) |
| GetCheckedHandle() | (Inherited from DisposableObject) |
| GetHashCode() | (Inherited from DisposableObject) |
| GetProperties() | |
| GetTypeID() |
Type identifier for the Security.SecPolicy type. |
| InitializeHandle(NativeHandle) | (Inherited from DisposableObject) |
| Release() | (Inherited from NativeObject) |
| Retain() | (Inherited from NativeObject) |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |