Contents

SSLSetOCSPResponse(_:_:)

Sets the OCSP response for the given SSL session.

Declaration

func SSLSetOCSPResponse(_ context: SSLContext, _ response: CFData) -> OSStatus

Parameters

  • context:

    A session context.

  • response:

    A non-NULL Cfdata instance containing the bytes of the OCSP response.

Return Value

A result code. See Secure Transport Result Codes.