-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Serialization
-
Labels:
Hello,
I have been trying to figure out the best approach to encrypt specified properties using attributes and a custom Serializer. I am trying to figure out if there's a way to get other properties of the document during serialization so that I can encrypt the data using a key that is setup in the object? The key is generated at runtime.
Here is a stack overflow link that has gone unanswered:
https://stackoverflow.com/questions/48512543/mongodb-serialization-c-sharp-adding-additional-encrypted-field-properties
I have also posted on the MongoDB Google group:
https://groups.google.com/forum/#!topic/mongodb-user/qpwn2X11OL0
Unless I'm mistaken, there's no possible way to accomplish this?
Thank you