Function s2n_tls_sys::s2n_connection_get_ocsp_response

source ·
pub unsafe extern "C" fn s2n_connection_get_ocsp_response(
    conn: *mut s2n_connection,
    length: *mut u32
) -> *const u8
Expand description

Query the connection for a buffer containing the OCSP response.

@param conn The connection object being queried @param length A pointer that is set to the certificate transparency response buffer’s size @returns A pointer to the OCSP response sent by a server during the handshake. If no status response is received, NULL is returned.