17 #ifndef MONGOCRYPT_INDEXED_ENCRYPTED_VALUE_PRIVATE_V2_H 18 #define MONGOCRYPT_INDEXED_ENCRYPTED_VALUE_PRIVATE_V2_H 20 #include "mc-tokens-private.h" 21 #include "mongocrypt-buffer-private.h" 22 #include "mongocrypt-crypto-private.h" 23 #include "mongocrypt-status-private.h" 42 typedef struct _mc_FLE2IndexedEncryptedValueV2_t mc_FLE2IndexedEncryptedValueV2_t;
44 mc_FLE2IndexedEncryptedValueV2_t *mc_FLE2IndexedEncryptedValueV2_new(
void);
46 bool mc_FLE2IndexedEncryptedValueV2_parse(mc_FLE2IndexedEncryptedValueV2_t *iev,
47 const _mongocrypt_buffer_t *buf,
50 bson_type_t mc_FLE2IndexedEncryptedValueV2_get_bson_value_type(
const mc_FLE2IndexedEncryptedValueV2_t *iev,
53 const _mongocrypt_buffer_t *mc_FLE2IndexedEncryptedValueV2_get_S_KeyId(
const mc_FLE2IndexedEncryptedValueV2_t *iev,
56 bool mc_FLE2IndexedEncryptedValueV2_add_S_Key(_mongocrypt_crypto_t *crypto,
57 mc_FLE2IndexedEncryptedValueV2_t *iev,
58 const _mongocrypt_buffer_t *S_Key,
61 const _mongocrypt_buffer_t *
62 mc_FLE2IndexedEncryptedValueV2_get_ClientEncryptedValue(
const mc_FLE2IndexedEncryptedValueV2_t *iev,
65 const _mongocrypt_buffer_t *mc_FLE2IndexedEncryptedValueV2_get_K_KeyId(
const mc_FLE2IndexedEncryptedValueV2_t *iev,
68 bool mc_FLE2IndexedEncryptedValueV2_add_K_Key(_mongocrypt_crypto_t *crypto,
69 mc_FLE2IndexedEncryptedValueV2_t *iev,
70 const _mongocrypt_buffer_t *K_Key,
73 const _mongocrypt_buffer_t *mc_FLE2IndexedEncryptedValueV2_get_ClientValue(
const mc_FLE2IndexedEncryptedValueV2_t *iev,
76 void mc_FLE2IndexedEncryptedValueV2_destroy(mc_FLE2IndexedEncryptedValueV2_t *iev);
104 bool mc_FLE2IndexedEqualityEncryptedValueV2_parse(mc_FLE2IndexedEncryptedValueV2_t *iev,
105 const _mongocrypt_buffer_t *buf,
129 bool mc_FLE2IndexedRangeEncryptedValueV2_parse(mc_FLE2IndexedEncryptedValueV2_t *iev,
130 const _mongocrypt_buffer_t *buf,
struct _mongocrypt_status_t mongocrypt_status_t
Definition: mongocrypt.h:135