Package com.aspose.zip
Class EncryptionSettings
- java.lang.Object
-
- com.aspose.zip.EncryptionSettings
-
- Direct Known Subclasses:
AesEncryptionSettings,TraditionalEncryptionSettings
public abstract class EncryptionSettings extends Object
Base class for settings for several ZIP encryption methods.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionMethodgetMethod()Gets the encryption algorithm.StringgetPassword()Gets password for encryption or decryption.voidsetPassword(String value)Sets password for encryption or decryption.
-
-
-
Method Detail
-
getMethod
public final EncryptionMethod getMethod()
Gets the encryption algorithm.
- Returns:
- the encryption algorithm.
-
getPassword
public final String getPassword()
Gets password for encryption or decryption.
- Returns:
- password for encryption or decryption.
-
setPassword
public final void setPassword(String value)
Sets password for encryption or decryption.
- Parameters:
value- password for encryption or decryption.
-
-