Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

const char*

Author

       MongoDB, Inc

Parameters

       • enc: A live mongoc_client_encryption_t

Returns

       A  pointer  to  a null-terminated character array string designating the version of crypt_shared that was
       loaded for enc. If no crypt_shared library is loaded, the returned pointer will be NULL.  The  pointed-to
       array must not be modified or freed. The returned pointer is only valid for the lifetime of enc.

       SEEALSO:

          • mongoc_client_get_crypt_shared_version()

Synopsis

          const char*
          mongoc_client_encryption_get_crypt_shared_version (mongoc_client_encryption_t const *enc);

       Obtain the version string of the crypt_shared that is loaded for the given explicit encryption object. If
       no crypt_shared library is loaded, the returned pointer will be NULL.

See Also