Interface OEncryption
- All Known Implementing Classes:
OAbstractEncryption,OAESEncryption,OAESGCMEncryption,ODESEncryption,ONothingEncryption
public interface OEncryption
Storage encryption interface. Additional encryption implementations can be plugged via
register() method. There are 2 versions:OEncryptionFactory.INSTANCE.register(for stateful implementations, a new instance will be created for each storage/li>) OEncryptionFactory.INSTANCE.register(for stateless implementations, the same instance will be shared across all the storages./li>)
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Method Summary
-
Method Details
-
encrypt
byte[] encrypt(byte[] content) -
decrypt
byte[] decrypt(byte[] content) -
encrypt
byte[] encrypt(byte[] content, int offset, int length) -
decrypt
byte[] decrypt(byte[] content, int offset, int length) -
name
String name() -
configure
-