GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MONGOC_CLIENT_ENCRYPTION_DATAKEY_OPTS_SET_KEYMATERIAL(3) libmongoc MONGOC_CLIENT_ENCRYPTION_DATAKEY_OPTS_SET_KEYMATERIAL(3)

void
mongoc_client_encryption_datakey_opts_set_keymaterial (

mongoc_client_encryption_datakey_opts_t *opts,
const uint8_t *data,
uint32_t len);


Sets the custom key material to be used by the data key for encryption and decryption.

  • opts: A mongoc_client_encryption_datakey_opts_t
  • data: A pointer to the bytes constituting the custom key material.
  • len: The length of the bytes constituting the custom key material.

Key material is used to encrypt and decrypt data. If custom key material is not provided, the key material for the new data key is generated from a cryptographically secure random device.

MongoDB, Inc

2009-present, MongoDB, Inc.

July 3, 2025 1.30.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.