sec_protocol_metadata_access_pre_shared_keys(_:_:)
Declaration
func sec_protocol_metadata_access_pre_shared_keys(_ metadata: sec_protocol_metadata_t, _ handler: @escaping (dispatch_data_t, dispatch_data_t) -> Void) -> BoolParameters
- metadata:
A
sec_protocol_metadata_tinstance. - handler:
A block to invoke one or more times with tuples of dispatch_data_t objects carrying PSKs and their corresponding identities.
Return Value
Returns true if the PSKs were accessible, false otherwise.
Discussion
Get the PSKs supported by the local instance.