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
 boolean backupKeyAvailable(java.lang.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(java.lang.String keyAlias)
Is the backup key available in order to fall back to?

Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.