public class ZipDecryptorProvider extends EntryDecryptorProvider<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> implements DecryptorProvider
filter, xNopDecryptordecryptorProvider| Constructor and Description |
|---|
ZipDecryptorProvider(DecryptorProvider xEncryptor) |
ZipDecryptorProvider(DecryptorProvider decryptorProvider,
Complex<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> filter) |
ZipDecryptorProvider(DecryptorProvider xEncryptor,
int level) |
ZipDecryptorProvider(DecryptorProvider decryptorProvider,
int level,
Complex<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(Key key,
File src,
File dest)
解密,将目标文件解密输出至目标文件
|
void |
decrypt(Key key,
InputStream in,
OutputStream out)
解密,将输入流解密输出至输出流
|
ondecrypt, decryptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecrypt, decryptpublic ZipDecryptorProvider(DecryptorProvider xEncryptor)
public ZipDecryptorProvider(DecryptorProvider decryptorProvider, Complex<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> filter)
public ZipDecryptorProvider(DecryptorProvider xEncryptor, int level)
public ZipDecryptorProvider(DecryptorProvider decryptorProvider, int level, Complex<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> filter)
public void decrypt(Key key, File src, File dest) throws IOException
DecryptorProviderdecrypt in interface DecryptorProviderdecrypt in class WrappedDecryptorProviderkey - 密钥src - 源文件dest - 目标文件IOException - I/O 异常public void decrypt(Key key, InputStream in, OutputStream out) throws IOException
DecryptorProviderdecrypt in interface DecryptorProviderdecrypt in class WrappedDecryptorProviderkey - 密钥in - 输入流out - 输出流IOException - I/O 异常Copyright © 2019. All rights reserved.