Function cassandra_cpp_sys::cass_ssl_add_trusted_cert
source · [−]pub unsafe extern "C" fn cass_ssl_add_trusted_cert(
ssl: *mut CassSsl,
cert: *const c_char
) -> CassError
Expand description
Adds a trusted certificate. This is used to verify the peer’s certificate.
@public @memberof CassSsl
@param[in] ssl @param[in] cert PEM formatted certificate string @return CASS_OK if successful, otherwise an error occurred