Class OAbstractEncryption
java.lang.Object
com.orientechnologies.orient.core.encryption.impl.OAbstractEncryption
- All Implemented Interfaces:
OEncryption
- Direct Known Subclasses:
OAESEncryption,ODESEncryption
* (https://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html). Issue
https://github.com/orientechnologies/orientdb/issues/89.
- Author:
- giastfader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decrypt(byte[] content) byte[]decrypt(byte[] content, int offset, int length) byte[]encrypt(byte[] content) byte[]encrypt(byte[] content, int offset, int length) abstract byte[]encryptOrDecrypt(int mode, byte[] input, int offset, int length) *Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.encryption.OEncryption
configure, name
-
Constructor Details
-
OAbstractEncryption
public OAbstractEncryption()
-
-
Method Details
-
encryptOrDecrypt
public abstract byte[] encryptOrDecrypt(int mode, byte[] input, int offset, int length) throws Exception * -
encrypt
public byte[] encrypt(byte[] content) - Specified by:
encryptin interfaceOEncryption
-
decrypt
public byte[] decrypt(byte[] content) - Specified by:
decryptin interfaceOEncryption
-
encrypt
public byte[] encrypt(byte[] content, int offset, int length) - Specified by:
encryptin interfaceOEncryption
-
decrypt
public byte[] decrypt(byte[] content, int offset, int length) - Specified by:
decryptin interfaceOEncryption
-