Contents

sec_protocol_metadata_access_distinguished_names(_:_:)

Declaration

func sec_protocol_metadata_access_distinguished_names(_ metadata: sec_protocol_metadata_t, _ handler: @escaping (dispatch_data_t) -> Void) -> Bool

Parameters

  • metadata:

    A sec_protocol_metadata_t instance.

  • handler:

    A block to invoke one or more times with distinguished_name data

Return Value

Returns true if the distinguished names were accessible, false otherwise.

Discussion

Get the X.509 Distinguished Names from the protocol instance peer.