[CSHARP-3527] Consider accepting EncryptionAlgorithm enum in EncryptOptions Created: 03/Apr/21  Updated: 28/Oct/23  Resolved: 20/Jul/21

Status: Closed
Project: C# Driver
Component/s: Field Level Encryption
Affects Version/s: None
Fix Version/s: 2.13.1

Type: Improvement Priority: Major - P3
Reporter: Boris Dogadov Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by CSHARP-3586 Support the spec wording of algorithm... Closed
Related
related to CSHARP-3586 Support the spec wording of algorithm... Closed

 Description   

Currently algorithm value is string, and it differs from string value in spec.
Spec: AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic
Driver: AEAD_AES_256_CBC_HMAC_SHA_512_Deterministic (last underscore)

Consider using enums for convenience.



 Comments   
Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3527: Consider accepting EncryptionAlgorithm enum in EncryptOptions. (#526)

CSHARP-3527: Consider accepting EncryptionAlgorithm enum in EncryptOptions.
Branch: v2.13.x
https://github.com/mongodb/mongo-csharp-driver/commit/e9e2b1f83522e2d88aba0e7418fae63c4a507ccd

Comment by Githook User [ 20/Jul/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3527: Consider accepting EncryptionAlgorithm enum in EncryptOptions. (#526)

CSHARP-3527: Consider accepting EncryptionAlgorithm enum in EncryptOptions.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/16d3d7d4dde23577e1aecd9d2172958efdd42dd3

Comment by Githook User [ 19/Jul/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3527: Consider accepting EncryptionAlgorithm enum in EncryptOptions. (#172)

CSHARP-3527: Consider accepting EncryptionAlgorithm enum in EncryptOptions.
Branch: master
https://github.com/mongodb/libmongocrypt/commit/561f978a743d99c161db7ffcae64f3f80787b4be

Generated at Wed Feb 07 21:45:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.