Package com.iizix.util
Interface MemoryJarFileDecrypter
public interface MemoryJarFileDecrypter
This interface is used to decrypt each entry in the ZIP/JAR file (along with the manifest if required).- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
decryptEntry(java.lang.String path, byte[] in)
Called to decrypt an entry by theMemoryJarFile
class.
Method Detail
decryptEntry
byte[] decryptEntry(java.lang.String path, byte[] in) throws java.io.IOException
Called to decrypt an entry by theMemoryJarFile
class.- Parameters:
path
- The path of the Jar entry, null for entire Jar file.in
- The input data for the Jar entry.- Returns:
- A byte array containing the data, never null!
- Throws:
java.io.IOException
- For reading errors.