public final class FilePassRecord extends StandardRecord
| Modifier and Type | Class | Description |
|---|---|---|
static class |
FilePassRecord.Rc4KeyData |
|
static class |
FilePassRecord.XorKeyData |
| Modifier and Type | Field | Description |
|---|---|---|
static short |
sid |
| Constructor | Description |
|---|---|
FilePassRecord(RecordInputStream in) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
|
protected int |
getDataSize() |
|
byte[] |
getDocId() |
Deprecated.
use getRc4KeyData().getSalt()
|
FilePassRecord.Rc4KeyData |
getRc4KeyData() |
|
byte[] |
getSaltData() |
Deprecated.
use getRc4KeyData().getEncryptedVerifier()
|
byte[] |
getSaltHash() |
Deprecated.
use getRc4KeyData().getEncryptedVerifierHash()
|
short |
getSid() |
return the non static version of the id for this record.
|
FilePassRecord.XorKeyData |
getXorKeyData() |
|
void |
serialize(LittleEndianOutput out) |
Write the data content of this BIFF record.
|
void |
setDocId(byte[] docId) |
Deprecated.
use getRc4KeyData().setSalt()
|
void |
setSaltData(byte[] saltData) |
Deprecated.
use getRc4KeyData().setEncryptedVerifier()
|
void |
setSaltHash(byte[] saltHash) |
Deprecated.
use getRc4KeyData().setEncryptedVerifierHash()
|
java.lang.String |
toString() |
get a string representation of the record (for biffview/debugging)
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloneViaReserialise, serializegetRecordSize, serializepublic static final short sid
public FilePassRecord(RecordInputStream in)
public void serialize(LittleEndianOutput out)
StandardRecordRecordBase.getRecordSize()} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize in class StandardRecordprotected int getDataSize()
getDataSize in class StandardRecordpublic FilePassRecord.Rc4KeyData getRc4KeyData()
public FilePassRecord.XorKeyData getXorKeyData()
public byte[] getDocId()
public void setDocId(byte[] docId)
docId - the new rc4 saltpublic byte[] getSaltData()
public void setSaltData(byte[] saltData)
saltData - the new rc4 encrypted verifierpublic byte[] getSaltHash()
public void setSaltHash(byte[] saltHash)
saltHash - the new rc4 encrypted verifierpublic short getSid()
RecordCopyright 2018 The Apache Software Foundation or its licensors, as applicable.