EncryptionMethod

Inheritance: java.lang.Object, java.lang.Enum

public enum EncryptionMethod extends Enum<EncryptionMethod>

Encryption/decryption methods can be used with zip archive.

Fields

FieldDescription
AES128Advanced Encryption Standard with key length 128 bits.
AES192Advanced Encryption Standard with key length 192 bits.
AES256Advanced Encryption Standard with key length 256 bits.
TraditionalTraditional PKWARE encryption.

Methods

MethodDescription
valueOf(String name)
values()

AES128

public static final EncryptionMethod AES128

Advanced Encryption Standard with key length 128 bits.

AES192

public static final EncryptionMethod AES192

Advanced Encryption Standard with key length 192 bits.

AES256

public static final EncryptionMethod AES256

Advanced Encryption Standard with key length 256 bits.

Traditional

public static final EncryptionMethod Traditional

Traditional PKWARE encryption.

valueOf(String name)

public static EncryptionMethod valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: EncryptionMethod

values()

public static EncryptionMethod[] values()

Returns: com.aspose.zip.EncryptionMethod[]