SevenZipEncryptionSettings

Inheritance: java.lang.Object

public abstract class SevenZipEncryptionSettings

Base class for settings for several 7z encryption methods.

The AES-256 is the only possible encryption method for 7z archive. So the SevenZipAESEncryptionSettings is the only implementation.

Methods

MethodDescription
getPassword()Gets password for encryption or decryption.
setPassword(String value)Sets password for encryption or decryption.

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:

ParameterTypeDescription
valuejava.lang.Stringpassword for encryption or decryption