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 protectedCryptoAPIEncryptionVerifier(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)protectedCryptoAPIEncryptionVerifier(CryptoAPIEncryptionVerifier other)protectedCryptoAPIEncryptionVerifier(LittleEndianInput is, CryptoAPIEncryptionHeader header)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAPIEncryptionVerifiercopy()voidsetEncryptedVerifier(byte[] encryptedVerifier)voidsetEncryptedVerifierHash(byte[] encryptedVerifierHash)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, 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:
setSaltin classStandardEncryptionVerifier
-
setEncryptedVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifierin classStandardEncryptionVerifier
-
setEncryptedVerifierHash
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
- Overrides:
setEncryptedVerifierHashin classStandardEncryptionVerifier
-
copy
public CryptoAPIEncryptionVerifier copy()
- Specified by:
copyin interfaceDuplicatable- Overrides:
copyin classStandardEncryptionVerifier- Returns:
- a deep copy of the implementing class / instance
-
-