Share via


SecTrust.Evaluate Method

Definition

Overloads

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

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

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.

Applies to

Evaluate(NSError)

public bool Evaluate(out Foundation.NSError? error);
member this.Evaluate : NSError -> bool

Parameters

error
NSError

Returns

Applies to