com.application.areca.impl.policy
Class EncryptionPolicy
java.lang.Object
com.application.areca.impl.policy.EncryptionPolicy
- All Implemented Interfaces:
- Duplicable
public class EncryptionPolicy
- extends java.lang.Object
- implements Duplicable
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
encryptionKey
protected java.lang.String encryptionKey
encryptionAlgorithm
protected java.lang.String encryptionAlgorithm
encryptNames
protected boolean encryptNames
isEncrypted
protected boolean isEncrypted
EncryptionPolicy
public EncryptionPolicy()
initFileSystemDriver
public FileSystemDriver initFileSystemDriver(java.io.File basePath,
FileSystemDriver predecessor)
throws ApplicationException
- Throws:
ApplicationException
validateEncryptionKey
public static boolean validateEncryptionKey(java.lang.String encryptionKey,
EncryptionConfiguration params)
getEncryptionAlgorithm
public java.lang.String getEncryptionAlgorithm()
setEncryptionAlgorithm
public void setEncryptionAlgorithm(java.lang.String encryptionAlgorithm)
getEncryptionKey
public java.lang.String getEncryptionKey()
setEncryptionKey
public void setEncryptionKey(java.lang.String encryptionKey)
isEncrypted
public boolean isEncrypted()
isEncryptNames
public boolean isEncryptNames()
setEncryptNames
public void setEncryptNames(boolean encryptNames)
setEncrypted
public void setEncrypted(boolean isEncrypted)
duplicate
public Duplicable duplicate()
- Description copied from interface:
Duplicable
- Create a copy of the Duplicable
- Specified by:
duplicate
in interface Duplicable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object