net.y3n20u.aeszip
クラス AesZipEntry

java.lang.Object
  上位を拡張 java.util.zip.ZipEntry
      上位を拡張 net.y3n20u.aeszip.AesZipEntry
すべての実装されたインタフェース:
Cloneable

public class AesZipEntry
extends ZipEntry

作成者:
y3n20u@gmail.com

フィールドの概要
static int CENATT
           
static int CENATX
           
static int CENCOM
           
static int CENCRC
           
static int CENDSK
           
static int CENEXT
           
static int CENFLG
           
static int CENHDR
           
static int CENHOW
           
static int CENLEN
           
static int CENNAM
           
static int CENOFF
           
static long CENSIG
           
static int CENSIZ
           
static int CENTIM
           
static int CENVEM
           
static int CENVER
           
static int ENDCOM
           
static int ENDHDR
           
static int ENDOFF
           
static long ENDSIG
           
static int ENDSIZ
           
static int ENDSUB
           
static int ENDTOT
           
static int EXTCRC
           
static int EXTHDR
           
static int EXTLEN
           
static long EXTSIG
           
static int EXTSIZ
           
static int LOCCRC
           
static int LOCEXT
           
static int LOCFLG
           
static int LOCHDR
           
static int LOCHOW
           
static int LOCLEN
           
static int LOCNAM
           
static long LOCSIG
           
static int LOCSIZ
           
static int LOCTIM
           
static int LOCVER
           
 
クラス java.util.zip.ZipEntry から継承されたフィールド
DEFLATED, STORED
 
コンストラクタの概要
AesZipEntry(String name)
           
AesZipEntry(String name, byte[] password)
           
AesZipEntry(String name, EncryptionStrengthMode mode)
           
AesZipEntry(String name, EncryptionStrengthMode mode, byte[] password)
           
 
メソッドの概要
 void deriveKeys(byte[] password)
           
 void deriveKeys(byte[] password, byte[] saltValue, byte[] passwordVerificationValueExpected)
           
 short getActualCompressionMethod()
           
 byte[] getAuthenticationKey()
           
 long getContentCompressedSize()
           
 byte[] getEncryptionKey()
           
 byte[] getExtra()
           
 short getLastModDate()
           
 short getLastModTime()
           
 int getMethod()
           
 byte[] getPasswordVerificationValue()
           
 long getRelativeOffsetOfLocalFileHeader()
           
 byte[] getSaltValue()
           
 EncryptionStrengthMode getStrengthMode()
           
 void setActualCompressionMethod(int method)
           
 void setContentCompressedSize(long contentCompressedSize)
           
 void setMethod(int method)
           
 void setRelativeOffsetOfLocalFileHeader(long offset)
          set the offset of this entry in the zip file.
 
クラス java.util.zip.ZipEntry から継承されたメソッド
clone, getComment, getCompressedSize, getCrc, getName, getSize, getTime, hashCode, isDirectory, setComment, setCompressedSize, setCrc, setExtra, setSize, setTime, toString
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

LOCSIG

public static final long LOCSIG
関連項目:
定数フィールド値

EXTSIG

public static final long EXTSIG
関連項目:
定数フィールド値

CENSIG

public static final long CENSIG
関連項目:
定数フィールド値

ENDSIG

public static final long ENDSIG
関連項目:
定数フィールド値

LOCHDR

public static final int LOCHDR
関連項目:
定数フィールド値

EXTHDR

public static final int EXTHDR
関連項目:
定数フィールド値

CENHDR

public static final int CENHDR
関連項目:
定数フィールド値

ENDHDR

public static final int ENDHDR
関連項目:
定数フィールド値

LOCVER

public static final int LOCVER
関連項目:
定数フィールド値

LOCFLG

public static final int LOCFLG
関連項目:
定数フィールド値

LOCHOW

public static final int LOCHOW
関連項目:
定数フィールド値

LOCTIM

public static final int LOCTIM
関連項目:
定数フィールド値

LOCCRC

public static final int LOCCRC
関連項目:
定数フィールド値

LOCSIZ

public static final int LOCSIZ
関連項目:
定数フィールド値

LOCLEN

public static final int LOCLEN
関連項目:
定数フィールド値

LOCNAM

public static final int LOCNAM
関連項目:
定数フィールド値

LOCEXT

public static final int LOCEXT
関連項目:
定数フィールド値

EXTCRC

public static final int EXTCRC
関連項目:
定数フィールド値

EXTSIZ

public static final int EXTSIZ
関連項目:
定数フィールド値

EXTLEN

public static final int EXTLEN
関連項目:
定数フィールド値

CENVEM

public static final int CENVEM
関連項目:
定数フィールド値

CENVER

public static final int CENVER
関連項目:
定数フィールド値

CENFLG

public static final int CENFLG
関連項目:
定数フィールド値

CENHOW

public static final int CENHOW
関連項目:
定数フィールド値

CENTIM

public static final int CENTIM
関連項目:
定数フィールド値

CENCRC

public static final int CENCRC
関連項目:
定数フィールド値

CENSIZ

public static final int CENSIZ
関連項目:
定数フィールド値

CENLEN

public static final int CENLEN
関連項目:
定数フィールド値

CENNAM

public static final int CENNAM
関連項目:
定数フィールド値

CENEXT

public static final int CENEXT
関連項目:
定数フィールド値

CENCOM

public static final int CENCOM
関連項目:
定数フィールド値

CENDSK

public static final int CENDSK
関連項目:
定数フィールド値

CENATT

public static final int CENATT
関連項目:
定数フィールド値

CENATX

public static final int CENATX
関連項目:
定数フィールド値

CENOFF

public static final int CENOFF
関連項目:
定数フィールド値

ENDSUB

public static final int ENDSUB
関連項目:
定数フィールド値

ENDTOT

public static final int ENDTOT
関連項目:
定数フィールド値

ENDSIZ

public static final int ENDSIZ
関連項目:
定数フィールド値

ENDOFF

public static final int ENDOFF
関連項目:
定数フィールド値

ENDCOM

public static final int ENDCOM
関連項目:
定数フィールド値
コンストラクタの詳細

AesZipEntry

public AesZipEntry(String name)

AesZipEntry

public AesZipEntry(String name,
                   EncryptionStrengthMode mode)

AesZipEntry

public AesZipEntry(String name,
                   byte[] password)

AesZipEntry

public AesZipEntry(String name,
                   EncryptionStrengthMode mode,
                   byte[] password)
メソッドの詳細

deriveKeys

public void deriveKeys(byte[] password)

deriveKeys

public void deriveKeys(byte[] password,
                       byte[] saltValue,
                       byte[] passwordVerificationValueExpected)
                throws PasswordNotCorrectException
例外:
PasswordNotCorrectException

setContentCompressedSize

public void setContentCompressedSize(long contentCompressedSize)

getContentCompressedSize

public long getContentCompressedSize()

setMethod

public void setMethod(int method)
オーバーライド:
クラス ZipEntry 内の setMethod

getMethod

public int getMethod()
オーバーライド:
クラス ZipEntry 内の getMethod

getExtra

public byte[] getExtra()
オーバーライド:
クラス ZipEntry 内の getExtra

setActualCompressionMethod

public void setActualCompressionMethod(int method)

getActualCompressionMethod

public short getActualCompressionMethod()

setRelativeOffsetOfLocalFileHeader

public void setRelativeOffsetOfLocalFileHeader(long offset)
set the offset of this entry in the zip file.

パラメータ:
offset - offset (4-byte value)
例外:
IllegalArgumentException - the parameter is too big or too small.

getRelativeOffsetOfLocalFileHeader

public long getRelativeOffsetOfLocalFileHeader()

getLastModTime

public short getLastModTime()

getLastModDate

public short getLastModDate()

getStrengthMode

public EncryptionStrengthMode getStrengthMode()

getSaltValue

public byte[] getSaltValue()

getEncryptionKey

public byte[] getEncryptionKey()

getAuthenticationKey

public byte[] getAuthenticationKey()

getPasswordVerificationValue

public byte[] getPasswordVerificationValue()