Class StandardEncryptionVerifier
java.lang.Object
org.apache.poi.poifs.crypt.EncryptionVerifier
org.apache.poi.poifs.crypt.standard.StandardEncryptionVerifier
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord,EncryptionRecord
- Direct Known Subclasses:
CryptoAPIEncryptionVerifier
Used when checking if a key is valid for a document
-
Method Summary
Modifier and TypeMethodDescriptioncopy()intvoidsetEncryptedVerifier(byte[] encryptedVerifier) voidsetEncryptedVerifierHash(byte[] encryptedVerifierHash) voidsetSalt(byte[] salt) voidMethods inherited from class org.apache.poi.poifs.crypt.EncryptionVerifier
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getGenericProperties, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedKey, setHashAlgorithm, setSpinCountMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Method Details
-
setSalt
public void setSalt(byte[] salt) - Overrides:
setSaltin classEncryptionVerifier
-
setEncryptedVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier) - Overrides:
setEncryptedVerifierin classEncryptionVerifier
-
setEncryptedVerifierHash
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash) - Overrides:
setEncryptedVerifierHashin classEncryptionVerifier
-
write
- Specified by:
writein interfaceEncryptionRecord
-
getVerifierHashSize
public int getVerifierHashSize() -
copy
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Specified by:
copyin classEncryptionVerifier
-