mongoc_stream_tls_check_cert (3) Linux Manual Page
mongoc_stream_tls_check_cert() – The mongoc_stream_tls_check_cert() function shall perform a RFC-6125 certificate verification.
Synopsis
bool
mongoc_stream_tls_check_cert (mongoc_stream_t *stream,
const char *host);
Parameters
- stream
- A mongoc_stream_tls_t \&.
- host
- A UTF-8 string holding the hostname used in socket creation. This value is what will be matched against the server provided certificate.
The mongoc_stream_tls_check_cert(3) function shall perform a RFC-6125 certificate verification.
