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:
EncryptionRecord
public class CryptoAPIEncryptionVerifier extends StandardEncryptionVerifier
-
Constructor Summary
Constructors Modifier Constructor Description protectedCryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)protectedCryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header) -
Method Summary
Modifier and Type Method Description protected voidsetEncryptedVerifier(byte[] encryptedVerifier)protected voidsetEncryptedVerifierHash(byte[] encryptedVerifierHash)protected 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
getAlgorithm, getAlgorithmName, getChainingMode, getCipherAlgorithm, getCipherMode, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, getVerifier, getVerifierHash, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CryptoAPIEncryptionVerifier
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
-
Method Details
-
setSalt
protected void setSalt(byte[] salt)- Overrides:
setSaltin classStandardEncryptionVerifier
-
setEncryptedVerifier
protected void setEncryptedVerifier(byte[] encryptedVerifier)- Overrides:
setEncryptedVerifierin classStandardEncryptionVerifier
-
setEncryptedVerifierHash
protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)- Overrides:
setEncryptedVerifierHashin classStandardEncryptionVerifier
-