[MONGOCRYPT-37] libmongocrypt: base types Created: 07/Feb/19  Updated: 04/Sep/19  Resolved: 07/Mar/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Kevin Albertson
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to MONGOCRYPT-62 Clean up and relocate key vault docum... Closed
related to MONGOCRYPT-63 Relocate ciphertext/marking parsing a... Closed
related to MONGOCRYPT-122 Clean up internal usage of binary types. Closed
Epic Link: Build libmongocrypt library

 Description   

Implement the following base types and methods for the libmongocrypt library:

  • FLE markings: parses a marked document response from mongocryptd
  • Ciphertext: parses out the key, vector, and other data from a ciphertext byte sequence
  • Keys: parses out the components of a key
  • BSON helpers:
    • Read-only recursive traversal
    • Transforming recursive traversal


 Comments   
Comment by Kevin Albertson [ 07/Mar/19 ]

Splitting this up into multiple tickets (see related tickets linked).

Comment by Kevin Albertson [ 07/Mar/19 ]

Right now, mongocrypt-parsing.c has no associated header. The types it parses into are declared in other files. Let's reconsider this.

Perhaps we should remove mongocrypt-parsing.c altogether and put parsing code in the same .c files associated with the type they parse into. E.g. put _mongocryptd_marking_reply_parse into a file named mongocryptd_marking.c.

Generated at Thu Feb 08 09:07:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.