mongoc_stream_tls_check_cert (3) - Linux Manuals
mongoc_stream_tls_check_cert: The mongoc_stream_tls_check_cert() function shall perform a RFC-6125 certificate verification.
Command to display mongoc_stream_tls_check_cert
manual in Linux: $ man 3 mongoc_stream_tls_check_cert
NAME
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.
RETURNS
The
mongoc_stream_tls_check_cert(3)
function returns true if the certificate is valid was successful. If false, openssl errors may be set.
COLOPHON
This page is part of MongoDB C Driver.
Please report any bugs at
https://jira.mongodb.org/browse/CDRIVER.
Pages related to mongoc_stream_tls_check_cert
- mongoc_stream_tls_do_handshake (3) - This function shall perform an SSL handshake on the underlying stream.
- mongoc_stream_tls_new (3) - Creates a new mongoc_stream_tls_t using the parameters supplied.
- mongoc_stream_tls_t (3) - typedef struct _mongoc_stream_tls_t mongoc_stream_tls_t
- mongoc_stream_t (3) - typedef struct _mongoc_stream_t mongoc_stream_t
- mongoc_stream_buffered_new (3) - This function shall create a new mongoc_stream_t that buffers bytes to and from the underlying base_stream.
- mongoc_stream_buffered_t (3) - mongoc_stream_buffered_t should be considered a subclass of mongoc_stream_t. It performs buffering on an underlying stream.
- mongoc_stream_close (3) - This function shall close underlying file-descriptors of stream.
- mongoc_stream_cork (3) - This function shall prevent the writing of bytes to the underlying socket.
- mongoc_stream_destroy (3) - This function shall release all resources associated with a mongoc_stream_t, including freeing the structure. It is invalid to use stream after calling this function.
- mongoc_stream_file_get_fd (3) - This function shall return the underlying file-descriptor of a mongoc_stream_file_t.
- mongoc_stream_file_new (3) - Creates a new mongoc_stream_file_t using the file-descriptor provided.
- mongoc_stream_file_new_for_path (3) - This function shall create a new mongoc_stream_file_t after opening the underlying file with open() or the platform equivalent.
- mongoc_stream_file_t (3) - typedef struct _mongoc_stream_file_t mongoc_stream_file_t
- mongoc_stream_flush (3) - This function shall flush any buffered bytes in the underlying stream to the physical transport. It mimics the API and semantics of fflush(), forcing a write of user space buffered data.
- mongoc_stream_get_base_stream (3) - This function shall fetch the underlying stream for streams that wrap a base stream. Such implementations include mongoc_stream_buffered_t and mongoc_stream_tls_t.
- mongoc_stream_gridfs_new (3) - This function shall create a new mongoc_gridfs_file_t. This function does not transfer ownership of file. Therefore, file must remain valid for the lifetime of this stream.
- mongoc_stream_gridfs_t (3) - typedef struct _mongoc_stream_gridfs_t mongoc_stream_gridfs_t
- mongoc_stream_read (3) - The mongoc_stream_read() function shall perform a read from a mongoc_stream_t. It's modeled on the API and semantics of read(), though the parameters map only loosely.