Class OEncryptionFactory

java.lang.Object
com.orientechnologies.orient.core.encryption.OEncryptionFactory

public class OEncryptionFactory extends Object
Factory of encryption algorithms.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
  • Field Details

  • Constructor Details

    • OEncryptionFactory

      public OEncryptionFactory()
      Install default encryption algorithms.
  • Method Details

    • getEncryption

      public OEncryption getEncryption(String name, String iOptions)
    • register

      public void register(OEncryption iEncryption)
      Registers a stateful implementations, a new instance will be created for each storage.
      Parameters:
      iEncryption - Encryption instance
    • register

      public void register(Class<? extends OEncryption> iEncryption)
      Registers a stateless implementations, the same instance will be shared on all the storages.
      Parameters:
      iEncryption - Encryption class
    • getInstances

      public Set<String> getInstances()