public final class FilePassRecord extends StandardRecord implements java.lang.Cloneable
| 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 |
|---|---|
FilePassRecord |
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, serializecloneViaReserialise, 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()
Recordpublic FilePassRecord clone()
Copyright 2017 The Apache Software Foundation or its licensors, as applicable.