com.autonomy.encryption
Interface EncryptionDetails

All Known Implementing Classes:
BTEAEncryptionDetails

public interface EncryptionDetails

Defines an object to provide details for a particular encryption scheme.

Since encryption schemes and their requirements vary, this interface only defines methods for establishing whether or not to encrypt. The default for this should be to not encrypt i.e. isEncrypting() should return false when called on a newly constructed subclass of EncryptionDetails


Method Summary
 boolean isEncrypting()
          Find out whether this encryption scheme should be used or not.
 void setEncrypting(boolean bEncrypting)
          Define whether or not the encryption scheme should be used or not.
 

Method Detail

setEncrypting

public void setEncrypting(boolean bEncrypting)
Define whether or not the encryption scheme should be used or not.

Parameters:
bEncrypting - whether or not to encrypt.

isEncrypting

public boolean isEncrypting()
Find out whether this encryption scheme should be used or not.

Returns:
true if this encryptions scheme is set to be used, false otherwise.