SecTrust 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.
A trust level. A trust object combines a certificate with a policy or policies.
public class SecTrust : CoreFoundation.NativeObject
type SecTrust = class
inherit NativeObject
- Inheritance
Constructors
| Name | Description |
|---|---|
| SecTrust(SecCertificate, SecPolicy) | |
| SecTrust(X509Certificate, SecPolicy) |
Create a new instance based on the certificate, to be evaluated, and a policy, to be applied. |
| SecTrust(X509Certificate2, SecPolicy) |
Create a new instance based on the certificate, to be evaluated, and a policy, to be applied |
| SecTrust(X509Certificate2Collection, SecPolicy) |
Create a new instance based on the certificate, to be evaluated, and a policy, to be applied. |
| SecTrust(X509CertificateCollection, SecPolicy) |
Create a new instance based on the certificate, to be evaluated, and a policy, to be applied. |
Properties
| Name | Description |
|---|---|
| Count |
Return the number of certificates used for evaluation. |
| Handle | (Inherited from DisposableObject) |
| Item[IntPtr] | |
| NetworkFetchAllowed | |
| Owns | (Inherited from DisposableObject) |
Methods
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |