Package org.apache.poi.poifs.crypt.xor
Class XOREncryptionVerifier
- java.lang.Object
-
- org.apache.poi.poifs.crypt.EncryptionVerifier
-
- org.apache.poi.poifs.crypt.xor.XOREncryptionVerifier
-
- All Implemented Interfaces:
Duplicatable,GenericRecord,EncryptionRecord
public class XOREncryptionVerifier extends EncryptionVerifier implements EncryptionRecord
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXOREncryptionVerifier()protectedXOREncryptionVerifier(XOREncryptionVerifier other)protectedXOREncryptionVerifier(LittleEndianInput is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XOREncryptionVerifiercopy()voidsetEncryptedKey(byte[] encryptedKey)voidsetEncryptedVerifier(byte[] encryptedVerifier)voidwrite(LittleEndianByteArrayOutputStream bos)-
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionVerifier
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getGenericProperties, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedVerifierHash, setHashAlgorithm, setSalt, 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
-
XOREncryptionVerifier
protected XOREncryptionVerifier()
-
XOREncryptionVerifier
protected XOREncryptionVerifier(LittleEndianInput is)
-
XOREncryptionVerifier
protected XOREncryptionVerifier(XOREncryptionVerifier other)
-
-
Method Detail
-
write
public void write(LittleEndianByteArrayOutputStream bos)
- Specified by:
writein interfaceEncryptionRecord
-
copy
public XOREncryptionVerifier copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classEncryptionVerifier- Returns:
- a deep copy of the implementing class / instance
-
setEncryptedVerifier
public final void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifierin classEncryptionVerifier
-
setEncryptedKey
public final void setEncryptedKey(byte[] encryptedKey)
- Overrides:
setEncryptedKeyin classEncryptionVerifier
-
-