-
Type: New Feature
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Background & Motivation
When creating a datakey in mongocrypt with mongocrypt_ctx_datakey_init the 96 byte keyMaterial is generated with _mongocrypt_random.
Scope
Support a custom 96 byte keyMaterial as an option to a mongocrypt_ctx_t. Consider adding a function like the following:
MONGOCRYPT_EXPORT mongocrypt_ctx_setopt_key_material (mongocrypt_ctx_t *ctx, mongocrypt_binary_t *bin)