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 protected
XOREncryptionVerifier()
protected
XOREncryptionVerifier(XOREncryptionVerifier other)
protected
XOREncryptionVerifier(LittleEndianInput is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XOREncryptionVerifier
copy()
void
setEncryptedKey(byte[] encryptedKey)
void
setEncryptedVerifier(byte[] encryptedVerifier)
void
write(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:
write
in interfaceEncryptionRecord
-
copy
public XOREncryptionVerifier copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classEncryptionVerifier
- Returns:
- a deep copy of the implementing class / instance
-
setEncryptedVerifier
public final void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifier
in classEncryptionVerifier
-
setEncryptedKey
public final void setEncryptedKey(byte[] encryptedKey)
- Overrides:
setEncryptedKey
in classEncryptionVerifier
-
-