-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Shell API
-
None
-
5
-
Iteration Tangerine
-
Needed
Mongo.getClientEncryption(): ClientEncryption | Return ClientEncryption instance |
ClientEncryption.encrypt( encryptionKeyId: UUID, value: document <with supported types>, encryptionAlgorithm: string ): BinData with subtype 6 |
ClientEncryption.encrypt( value: document <with supported types>, options: { keyId: <[ClientEncryption.DatakeyId|https://mongodb.github.io/node-mongodb-native/3.6/api/ClientEncryption.html#~dataKeyId]>, KeyAltName: string, algorithm: string } ) |
ClientEncryption.decrypt( encryptedValue: BinData with subtype 6 ): document |
ClientEncryption.decrypt( value: Buffer, ) |