Implement body for OpenPGP_SignaturePacket_SignatureCreationTimePacket

This commit is contained in:
Stephen Paul Weber 2010-03-31 14:25:21 -05:00
parent d4babbb948
commit 7fc49b3530

View File

@ -482,6 +482,10 @@ class OpenPGP_SignaturePacket_SignatureCreationTimePacket extends OpenPGP_Signat
function read() { function read() {
$this->data = $this->read_timestamp(); $this->data = $this->read_timestamp();
} }
function body() {
return pack('N', $this->data);
}
} }
class OpenPGP_SignaturePacket_SignatureExpirationTimePacket extends OpenPGP_SignaturePacket_Subpacket { class OpenPGP_SignaturePacket_SignatureExpirationTimePacket extends OpenPGP_SignaturePacket_Subpacket {