public class OEncryptionFactory extends Object
Modifier and Type | Field and Description |
---|---|
static OEncryptionFactory |
INSTANCE |
Constructor and Description |
---|
OEncryptionFactory()
Install default encryption algorithms.
|
Modifier and Type | Method and Description |
---|---|
OEncryption |
getEncryption(String name,
String iOptions) |
Set<String> |
getInstances() |
void |
register(Class<? extends OEncryption> iEncryption)
Registers a stateless implementations, the same instance will be shared on all the storages.
|
void |
register(OEncryption iEncryption)
Registers a stateful implementations, a new instance will be created for each storage.
|
public static final OEncryptionFactory INSTANCE
public OEncryptionFactory()
public OEncryption getEncryption(String name, String iOptions)
public void register(OEncryption iEncryption)
iEncryption
- Encryption instancepublic void register(Class<? extends OEncryption> iEncryption)
iEncryption
- Encryption classCopyright © 2009–2020 OrientDB. All rights reserved.