Class StandardEncryptionHeader
java.lang.Object
org.docx4j.org.apache.poi.poifs.crypt.EncryptionHeader
org.docx4j.org.apache.poi.poifs.crypt.standard.StandardEncryptionHeader
- All Implemented Interfaces:
Duplicatable,GenericRecord,EncryptionRecord
- Direct Known Subclasses:
CryptoAPIEncryptionHeader
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStandardEncryptionHeader(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode) protectedprotected -
Method Summary
Methods inherited from class org.docx4j.org.apache.poi.poifs.crypt.EncryptionHeader
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getGenericProperties, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra, setBlockSize, setChainingMode, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySalt, setKeySize, setSizeExtraMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.docx4j.org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Constructor Details
-
StandardEncryptionHeader
-
StandardEncryptionHeader
- Throws:
IOException
-
StandardEncryptionHeader
protected StandardEncryptionHeader(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
-
Method Details
-
write
serializes the header- Specified by:
writein interfaceEncryptionRecord
-
copy
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classEncryptionHeader- Returns:
- a deep copy of the implementing class / instance
-