Instance Method

setPairwiseMasterKey(_:)

Sets the interface pairwise master key (PMK).

Declaration

func setPairwiseMasterKey(_ key: Data?) throws

Parameters

key

An NSData object containing the pairwise master key (PMK).

error

An NSError object passed by reference, which will be populated with the error code and the error description if an error occurs during the execution of this method. This parameter is optional and can be passed as nil.

Return Value

A Boolean value which will indicate whether or not a failure occurred during execution. YES indicates no error occurred.

Discussion

key must be 32 octets. If key is nil, this method clears the PMK for the interface.

See Also

Setting interface parameters

func setPower(Bool)

Sets the interface power state.

func setWLANChannel(CWChannel)

Sets the interface channel.