Interface FallbackEncryptor

All Superinterfaces:
Encryptor
All Known Implementing Classes:
DefaultFallbackEncryptor

public interface FallbackEncryptor extends Encryptor
A fallback encryptor provides a fallback mechanism for decryption, first using the default encryption keys and, if they fail (perhaps because they have been changed), falling back to a backup set of keys. Note that encryption will be performed only using the default encryption keys.
Since:
4.0
  • Method Details

    • backupKeyAvailable

      boolean backupKeyAvailable(String keyAlias)
      Is the backup key available in order to fall back to?
      Returns:
      boolean