Class StandardDecrypter

  • All Implemented Interfaces:
    Decrypter

    public class StandardDecrypter
    extends java.lang.Object
    implements Decrypter
    • Constructor Summary

      Constructors 
      Constructor Description
      StandardDecrypter​(char[] password, long crc, long lastModifiedFileTime, byte[] headerBytes, boolean useUtf8ForPassword)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int decryptData​(byte[] buff, int start, int len)  
      private void init​(byte[] headerBytes, char[] password, long lastModifiedFileTime, long crc, boolean useUtf8ForPassword)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandardDecrypter

        public StandardDecrypter​(char[] password,
                                 long crc,
                                 long lastModifiedFileTime,
                                 byte[] headerBytes,
                                 boolean useUtf8ForPassword)
                          throws ZipException
        Throws:
        ZipException
    • Method Detail

      • init

        private void init​(byte[] headerBytes,
                          char[] password,
                          long lastModifiedFileTime,
                          long crc,
                          boolean useUtf8ForPassword)
                   throws ZipException
        Throws:
        ZipException