Package org.apache.poi.poifs.crypt.agile
Class AgileEncryptionHeader
java.lang.Object
org.apache.poi.poifs.crypt.EncryptionHeader
org.apache.poi.poifs.crypt.agile.AgileEncryptionHeader
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord
-
Constructor Summary
ConstructorsConstructorDescriptionAgileEncryptionHeader(String descriptor) AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode) -
Method Summary
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionHeader
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra, setBlockSize, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySize, setSizeExtraMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Constructor Details
-
AgileEncryptionHeader
-
AgileEncryptionHeader
-
AgileEncryptionHeader
public AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
-
Method Details
-
setKeySalt
public void setKeySalt(byte[] salt) - Overrides:
setKeySaltin classEncryptionHeader
-
getEncryptedHmacKey
public byte[] getEncryptedHmacKey() -
getEncryptedHmacValue
public byte[] getEncryptedHmacValue() -
getGenericProperties
- Specified by:
getGenericPropertiesin interfaceGenericRecord- Overrides:
getGenericPropertiesin classEncryptionHeader
-
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classEncryptionHeader
-