public final class FilePassRecord extends StandardRecord
Modifier and Type | Class and Description |
---|---|
static class |
FilePassRecord.Rc4KeyData |
static class |
FilePassRecord.XorKeyData |
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
FilePassRecord(RecordInputStream in) |
Modifier and Type | Method and 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)
|
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public FilePassRecord(RecordInputStream in)
public void serialize(LittleEndianOutput out)
StandardRecord
RecordBase.getRecordSize()
} minus four
( record header consiting of a 'ushort sid' and 'ushort reclength' has already been written
by thye superclass).serialize
in class StandardRecord
protected int getDataSize()
getDataSize
in class StandardRecord
public 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()
Record
Copyright 2015 The Apache Software Foundation or its licensors, as applicable.