Contents

sec_protocol_metadata_access_ocsp_response(_:_:)

Declaration

func sec_protocol_metadata_access_ocsp_response(_ 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 OCSP data

Return Value

Returns true if the OSCP response was accessible, false otherwise.

Discussion

Get the OCSP response from the protocol instance peer.