Package org.alfresco.encryption
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
backupKeyAvailable(String keyAlias)
Is the backup key available in order to fall back to?-
Methods inherited from interface org.alfresco.encryption.Encryptor
decodeAlgorithmParameters, decrypt, decrypt, decryptObject, encrypt, encryptObject, keyAvailable, sealObject, unsealObject
-
-
-
-
Method Detail
-
backupKeyAvailable
boolean backupKeyAvailable(String keyAlias)
Is the backup key available in order to fall back to?- Returns:
- boolean
-
-