LiteralDataPacket body

This commit is contained in:
Stephen Paul Weber 2010-03-31 14:25:21 -05:00
parent a78b6dc8c1
commit 3c84dce8f9

View File

@ -769,6 +769,10 @@ class OpenPGP_LiteralDataPacket extends OpenPGP_Packet {
$this->timestamp = $this->read_timestamp();
$this->data = $this->read_bytes($this->size);
}
function body() {
return $this->format.chr(strlen($this->filename)).$this->filename.pack('N', $this->timestamp).$this->data;
}
}
/**