Class OEncryptionFactory
java.lang.Object
com.orientechnologies.orient.core.encryption.OEncryptionFactory
Factory of encryption algorithms.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEncryption(String name, String iOptions) voidregister(OEncryption iEncryption) Registers a stateful implementations, a new instance will be created for each storage.voidregister(Class<? extends OEncryption> iEncryption) Registers a stateless implementations, the same instance will be shared on all the storages.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
OEncryptionFactory
public OEncryptionFactory()Install default encryption algorithms.
-
-
Method Details
-
getEncryption
-
register
Registers a stateful implementations, a new instance will be created for each storage.- Parameters:
iEncryption- Encryption instance
-
register
Registers a stateless implementations, the same instance will be shared on all the storages.- Parameters:
iEncryption- Encryption class
-
getInstances
-