Class EncryptionManager


  • public final class EncryptionManager
    extends Object
    A manager of EncryptionProvider's. Within a JVM, there is a single, static currentEncryptor that is used when performing encryption of sensitive information. The currentEncryptor may be globally set by setting the currentEncryptorId. Within a JVM, there can be multiple providers that are used when performing decryption.

    This model allows for the encryption strategy to evolve over time while always being able to read files written by previous EncryptionProvider's.

    See Also:
    EncryptionProvider