net.y3n20u.aeszip
クラス AesZipEntry
java.lang.Object
java.util.zip.ZipEntry
net.y3n20u.aeszip.AesZipEntry
- すべての実装されたインタフェース:
- Cloneable
public class AesZipEntry
- extends ZipEntry
- 作成者:
- y3n20u@gmail.com
クラス java.util.zip.ZipEntry から継承されたメソッド |
clone, getComment, getCompressedSize, getCrc, getName, getSize, getTime, hashCode, isDirectory, setComment, setCompressedSize, setCrc, setExtra, setSize, setTime, toString |
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()