Class BinaryRC4EncryptionVerifier
- java.lang.Object
-
- org.apache.poi.poifs.crypt.EncryptionVerifier
-
- org.apache.poi.poifs.crypt.binaryrc4.BinaryRC4EncryptionVerifier
-
- All Implemented Interfaces:
Duplicatable
,GenericRecord
,EncryptionRecord
public class BinaryRC4EncryptionVerifier extends EncryptionVerifier implements EncryptionRecord
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BinaryRC4EncryptionVerifier()
protected
BinaryRC4EncryptionVerifier(BinaryRC4EncryptionVerifier other)
protected
BinaryRC4EncryptionVerifier(LittleEndianInput is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryRC4EncryptionVerifier
copy()
void
setEncryptedVerifier(byte[] encryptedVerifier)
void
setEncryptedVerifierHash(byte[] encryptedVerifierHash)
void
setSalt(byte[] salt)
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, 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
-
BinaryRC4EncryptionVerifier
protected BinaryRC4EncryptionVerifier()
-
BinaryRC4EncryptionVerifier
protected BinaryRC4EncryptionVerifier(LittleEndianInput is)
-
BinaryRC4EncryptionVerifier
protected BinaryRC4EncryptionVerifier(BinaryRC4EncryptionVerifier other)
-
-
Method Detail
-
setSalt
public void setSalt(byte[] salt)
- Overrides:
setSalt
in classEncryptionVerifier
-
setEncryptedVerifier
public void setEncryptedVerifier(byte[] encryptedVerifier)
- Overrides:
setEncryptedVerifier
in classEncryptionVerifier
-
setEncryptedVerifierHash
public void setEncryptedVerifierHash(byte[] encryptedVerifierHash)
- Overrides:
setEncryptedVerifierHash
in classEncryptionVerifier
-
write
public void write(LittleEndianByteArrayOutputStream bos)
- Specified by:
write
in interfaceEncryptionRecord
-
copy
public BinaryRC4EncryptionVerifier copy()
- Specified by:
copy
in interfaceDuplicatable
- Specified by:
copy
in classEncryptionVerifier
- Returns:
- a deep copy of the implementing class / instance
-
-