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:
java.lang.Cloneable
,EncryptionRecord
public class XOREncryptionVerifier extends EncryptionVerifier implements EncryptionRecord, java.lang.Cloneable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XOREncryptionVerifier()
protected
XOREncryptionVerifier(LittleEndianInput is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XOREncryptionVerifier
clone()
protected void
setEncryptedKey(byte[] encryptedKey)
protected void
setEncryptedVerifier(byte[] encryptedVerifier)
void
write(LittleEndianByteArrayOutputStream bos)
-
Methods inherited from class org.apache.poi.poifs.crypt.EncryptionVerifier
getChainingMode, getCipherAlgorithm, getEncryptedKey, getEncryptedVerifier, getEncryptedVerifierHash, getHashAlgorithm, getSalt, getSpinCount, setChainingMode, setCipherAlgorithm, setEncryptedVerifierHash, setHashAlgorithm, setSalt, setSpinCount
-
-
-
-
Constructor Detail
-
XOREncryptionVerifier
protected XOREncryptionVerifier()
-
XOREncryptionVerifier
protected XOREncryptionVerifier(LittleEndianInput is)
-
-
Method Detail
-
write
public void write(LittleEndianByteArrayOutputStream bos)
- Specified by:
write
in interfaceEncryptionRecord
-
clone
public XOREncryptionVerifier clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classEncryptionVerifier
- Throws:
java.lang.CloneNotSupportedException
-
setEncryptedVerifier
protected final void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifier
in classEncryptionVerifier
-
setEncryptedKey
protected final void setEncryptedKey(byte[] encryptedKey)
- Overrides:
setEncryptedKey
in classEncryptionVerifier
-
-