Class CryptoAPIEncryptionVerifier
- java.lang.Object
-
- org.apache.poi.poifs.crypt.EncryptionVerifier
-
- org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
-
- org.apache.poi.poifs.crypt.cryptoapi.CryptoAPIEncryptionVerifier
-
- All Implemented Interfaces:
java.lang.Cloneable,EncryptionRecord
public class CryptoAPIEncryptionVerifier extends StandardEncryptionVerifier implements java.lang.Cloneable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)protectedCryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAPIEncryptionVerifierclone()protected voidsetEncryptedVerifier(byte[] encryptedVerifier)protected voidsetEncryptedVerifierHash(byte[] encryptedVerifierHash)protected voidsetSalt(byte[] salt)-
Methods inherited from class org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
getVerifierHashSize, write
-
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionVerifier
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCount
-
-
-
-
Constructor Detail
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
-
Method Detail
-
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
-
clone
public CryptoAPIEncryptionVerifier clone() throws java.lang.CloneNotSupportedException
- Overrides:
clonein classStandardEncryptionVerifier- Throws:
java.lang.CloneNotSupportedException
-
-