SecTrust.Evaluate Method
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.
Overloads
| Name | Description |
|---|---|
| Evaluate(DispatchQueue, SecTrustWithErrorCallback) | |
| Evaluate(DispatchQueue, SecTrustCallback) | |
| Evaluate() |
Evaluate the trust of the certificate using the policy. |
| Evaluate(NSError) |
Evaluate(DispatchQueue, SecTrustWithErrorCallback)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public Security.SecStatusCode Evaluate(CoreFoundation.DispatchQueue queue, Security.SecTrustWithErrorCallback handler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.Evaluate : CoreFoundation.DispatchQueue * Security.SecTrustWithErrorCallback -> Security.SecStatusCode
Parameters
- queue
- DispatchQueue
- handler
- SecTrustWithErrorCallback
Returns
- Attributes
Applies to
Evaluate(DispatchQueue, SecTrustCallback)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public Security.SecStatusCode Evaluate(CoreFoundation.DispatchQueue queue, Security.SecTrustCallback handler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.Evaluate : CoreFoundation.DispatchQueue * Security.SecTrustCallback -> Security.SecStatusCode
Parameters
- queue
- DispatchQueue
- handler
- SecTrustCallback
Returns
- Attributes
Applies to
Evaluate()
Evaluate the trust of the certificate using the policy.
public Security.SecTrustResult Evaluate();
member this.Evaluate : unit -> Security.SecTrustResult
Returns
A code that describe if the certificate can be trusted and, if so, under which circumstances.
Remarks
In general both Proceed and Unspecified means you can trust the certificate, other values means it should not be trusted.