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:
Duplicatable
,GenericRecord
,EncryptionRecord
public class CryptoAPIEncryptionVerifier extends StandardEncryptionVerifier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
protected
CryptoAPIEncryptionVerifier(CryptoAPIEncryptionVerifier other)
protected
CryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAPIEncryptionVerifier
copy()
void
setEncryptedVerifier(byte[] encryptedVerifier)
void
setEncryptedVerifierHash(byte[] encryptedVerifierHash)
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, getGenericProperties, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCount
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Constructor Detail
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
-
CryptoAPIEncryptionVerifier
protected CryptoAPIEncryptionVerifier(CryptoAPIEncryptionVerifier other)
-
-
Method Detail
-
setSalt
public void setSalt(byte[] salt)
- Overrides:
setSalt
in classStandardEncryptionVerifier
-
setEncryptedVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifier
in classStandardEncryptionVerifier
-
setEncryptedVerifierHash
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
- Overrides:
setEncryptedVerifierHash
in classStandardEncryptionVerifier
-
copy
public CryptoAPIEncryptionVerifier copy()
- Specified by:
copy
in interfaceDuplicatable
- Overrides:
copy
in classStandardEncryptionVerifier
- Returns:
- a deep copy of the implementing class / instance
-
-