Class CryptoAPIEncryptionVerifier
java.lang.Object
org.docx4j.org.apache.poi.poifs.crypt.EncryptionVerifier
org.docx4j.org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
org.docx4j.org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIEncryptionVerifier
- All Implemented Interfaces:
Duplicatable,GenericRecord,EncryptionRecord
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode) protectedprotected -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidsetEncryptedVerifier(byte[] encryptedVerifier) voidsetEncryptedVerifierHash(byte[] encryptedVerifierHash) voidsetSalt(byte[] salt) Methods inherited from class org.docx4j.org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
getVerifierHashSize, writeMethods inherited from class org.docx4j.org.apache.poi.poifs.crypt.EncryptionVerifier
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getGenericProperties, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCountMethods 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
-
CryptoAPIEncryptionVerifier
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode) -
CryptoAPIEncryptionVerifier
-
-
Method Details
-
setSalt
public void setSalt(byte[] salt) - Overrides:
setSaltin classStandardEncryptionVerifier
-
setEncryptedVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier) - Overrides:
setEncryptedVerifierin classStandardEncryptionVerifier
-
setEncryptedVerifierHash
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash) - Overrides:
setEncryptedVerifierHashin classStandardEncryptionVerifier
-
copy
- Specified by:
copyin interfaceDuplicatable- Overrides:
copyin classStandardEncryptionVerifier- Returns:
- a deep copy of the implementing class / instance
-