Function

SSLSetOCSPResponse

Sets the OCSP response for the given SSL session.

Declaration

OSStatus SSLSetOCSPResponse(SSLContextRef context, CFDataRef response);

Parameters

context

A session context.

response

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

Return Value

A result code. See Secure Transport Result Codes.

See Also

Authentication

SSLAddDistinguishedName

Adds a DER-encoded distinguished name to a list of acceptable names to be specified in requests for client certificates.

SSLCopyDistinguishedNames

Retrieves the distinguished names of acceptable certification authorities.

SSLSetCertificate

Specifies this connection’s certificate or certificates.

SSLGetClientCertificateState

Retrieves the exchange status of the client certificate.

SSLCopyPeerTrust

Retrieves a trust management object for the certificate used by a session.

SSLClientCertificateState

An enumeration of the states of client certificate exchange.

SSLSetSessionTicketsEnabled

Enables or disables session ticket resumption.