|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.poifs.crypt.EncryptionHeader
public abstract class EncryptionHeader
Reads and processes OOXML Encryption Headers The constants are largely based on ZIP constants.
Field Summary | |
---|---|
static int |
ALGORITHM_AES_128
|
static int |
ALGORITHM_AES_192
|
static int |
ALGORITHM_AES_256
|
static int |
ALGORITHM_RC4
|
static int |
HASH_NONE
|
static int |
HASH_SHA1
|
static int |
HASH_SHA256
|
static int |
HASH_SHA384
|
static int |
HASH_SHA512
|
static int |
MODE_CBC
|
static int |
MODE_CFB
|
static int |
MODE_ECB
|
static int |
PROVIDER_AES
|
static int |
PROVIDER_RC4
|
Constructor Summary | |
---|---|
protected |
EncryptionHeader()
|
Method Summary | |
---|---|
int |
getAlgorithm()
Deprecated. use getCipherAlgorithm() |
int |
getBlockSize()
|
ChainingMode |
getChainingMode()
|
CipherAlgorithm |
getCipherAlgorithm()
|
int |
getCipherMode()
Deprecated. use getChainingMode().ecmaId |
CipherProvider |
getCipherProvider()
|
java.lang.String |
getCspName()
|
int |
getFlags()
|
int |
getHashAlgorithm()
Deprecated. use getHashAlgorithmEx() |
HashAlgorithm |
getHashAlgorithmEx()
|
byte[] |
getKeySalt()
|
int |
getKeySize()
|
int |
getProviderType()
Deprecated. use getCipherProvider() |
int |
getSizeExtra()
|
protected void |
setBlockSize(int blockSize)
|
protected void |
setChainingMode(ChainingMode chainingMode)
|
protected void |
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
|
protected void |
setCipherProvider(CipherProvider providerType)
|
protected void |
setCspName(java.lang.String cspName)
|
protected void |
setFlags(int flags)
|
protected void |
setHashAlgorithm(HashAlgorithm hashAlgorithm)
|
protected void |
setKeySalt(byte[] salt)
|
protected void |
setKeySize(int keyBits)
|
protected void |
setSizeExtra(int sizeExtra)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALGORITHM_RC4
public static final int ALGORITHM_AES_128
public static final int ALGORITHM_AES_192
public static final int ALGORITHM_AES_256
public static final int HASH_NONE
public static final int HASH_SHA1
public static final int HASH_SHA256
public static final int HASH_SHA384
public static final int HASH_SHA512
public static final int PROVIDER_RC4
public static final int PROVIDER_AES
public static final int MODE_ECB
public static final int MODE_CBC
public static final int MODE_CFB
Constructor Detail |
---|
protected EncryptionHeader()
Method Detail |
---|
public int getCipherMode()
public ChainingMode getChainingMode()
protected void setChainingMode(ChainingMode chainingMode)
public int getFlags()
protected void setFlags(int flags)
public int getSizeExtra()
protected void setSizeExtra(int sizeExtra)
public int getAlgorithm()
public CipherAlgorithm getCipherAlgorithm()
protected void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
public int getHashAlgorithm()
public HashAlgorithm getHashAlgorithmEx()
protected void setHashAlgorithm(HashAlgorithm hashAlgorithm)
public int getKeySize()
protected void setKeySize(int keyBits)
public int getBlockSize()
protected void setBlockSize(int blockSize)
public byte[] getKeySalt()
protected void setKeySalt(byte[] salt)
public int getProviderType()
public CipherProvider getCipherProvider()
protected void setCipherProvider(CipherProvider providerType)
public java.lang.String getCspName()
protected void setCspName(java.lang.String cspName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |