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 Detail

      • backupKeyAvailable

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