EncryptionSettings
Inheritance: java.lang.Object
public abstract class EncryptionSettings
Base class for settings for several ZIP encryption methods.
Methods
| Method | Description |
|---|---|
| getMethod() | Gets the encryption algorithm. |
| getPassword() | Gets password for encryption or decryption. |
| setPassword(String value) | Sets password for encryption or decryption. |
getMethod()
public final EncryptionMethod getMethod()
Gets the encryption algorithm.
Returns: EncryptionMethod - the encryption algorithm.
getPassword()
public final String getPassword()
Gets password for encryption or decryption.
Returns: java.lang.String - password for encryption or decryption.
setPassword(String value)
public final void setPassword(String value)
Sets password for encryption or decryption.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | password for encryption or decryption. |