[][src]Function pact_mock_server_ffi::get_tls_ca_certificate

#[no_mangle]pub extern "C" fn get_tls_ca_certificate() -> *mut c_char

Fetch the CA Certificate used to generate the self-signed certificate for the TLS mock server.

NOTE: The string for the result is allocated on the heap, and will have to be freed by the caller using free_string

Errors

An empty string indicates an error reading the pem file