Class CryptoAPIEncryptionHeader
- java.lang.Object
-
- org.apache.poi.poifs.crypt.EncryptionHeader
-
- org.apache.poi.poifs.crypt.standard.StandardEncryptionHeader
-
- org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIEncryptionHeader
-
- All Implemented Interfaces:
java.lang.Cloneable
,EncryptionRecord
public class CryptoAPIEncryptionHeader extends StandardEncryptionHeader implements java.lang.Cloneable
-
-
Field Summary
-
Fields inherited from class org.apache.poi.poifs.crypt.EncryptionHeader
ALGORITHM_AES_128, ALGORITHM_AES_192, ALGORITHM_AES_256, ALGORITHM_RC4, HASH_NONE, HASH_SHA1, HASH_SHA256, HASH_SHA384, HASH_SHA512, MODE_CBC, MODE_CFB, MODE_ECB, PROVIDER_AES, PROVIDER_RC4
-
-
Constructor Summary
Constructors Constructor Description CryptoAPIEncryptionHeader(LittleEndianInput is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAPIEncryptionHeader
clone()
void
setKeySize(int keyBits)
-
Methods inherited from class org.apache.poi.poifs.crypt.standard.StandardEncryptionHeader
write
-
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionHeader
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra
-
-
-
-
Constructor Detail
-
CryptoAPIEncryptionHeader
public CryptoAPIEncryptionHeader(LittleEndianInput is) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
setKeySize
public void setKeySize(int keyBits)
-
clone
public CryptoAPIEncryptionHeader clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classStandardEncryptionHeader
- Throws:
java.lang.CloneNotSupportedException
-
-