Interface Encryption<S,T>
- All Known Implementing Classes:
MongoClientEncryption
public interface Encryption<S,T>
Component responsible for encrypting and decrypting values.
- Since:
- 4.1
- Author:
- Christoph Strobl
-
Method Summary
-
Method Details
-
encrypt
Encrypt the given value.- Parameters:
value
- must not be null.options
- must not be null.- Returns:
- the encrypted value.
-
decrypt
Decrypt the given value.- Parameters:
value
- must not be null.- Returns:
- the decrypted value.
-