Closed SorinBela closed 4 years ago
ZIP_STANDARD_VARIANT_STRONG
is not supported by zip4j because this encryption method is patent protected by PKWare and implementing this encryption method requires a license from PKWare. The reason it exists as an enum in zip4j is because clients can at least know the encryption method if an entry in zip is encrypted with this method.
Trying to create a ZipFile with _EncryptionMethod.ZIP_STANDARD_VARIANTSTRONG yields an ZipException: "Invalid encryption method".
This is because ZipOutputStream::CipherOutputStream does not accept _EncryptionMethod.ZIP_STANDARD_VARIANTSTRONG
StackTrace: