Share via


SecProtocolOptions.SetPreSharedKeySelectionBlock Method

Definition

Set the pre-shared key selection callback.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public void SetPreSharedKeySelectionBlock(Security.SecProtocolPreSharedKeySelection selection, CoreFoundation.DispatchQueue queue);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.SetPreSharedKeySelectionBlock : Security.SecProtocolPreSharedKeySelection * CoreFoundation.DispatchQueue -> unit

Parameters

selection
SecProtocolPreSharedKeySelection

The callback to call during pre-shared key selection.

queue
DispatchQueue

The queue where the callback is called.

Attributes

Applies to