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 protected
CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
protected
CryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAPIEncryptionVerifier
clone()
protected void
setEncryptedVerifier(byte[] encryptedVerifier)
protected void
setEncryptedVerifierHash(byte[] encryptedVerifierHash)
protected void
setSalt(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:
setSalt
in classStandardEncryptionVerifier
-
setEncryptedVerifier
protected void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifier
in classStandardEncryptionVerifier
-
setEncryptedVerifierHash
protected void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
- Overrides:
setEncryptedVerifierHash
in classStandardEncryptionVerifier
-
clone
public CryptoAPIEncryptionVerifier clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classStandardEncryptionVerifier
- Throws:
java.lang.CloneNotSupportedException
-
-