Implement OpenPGP_SignaturePacket_KeyExpirationTimePacket

This commit is contained in:
Stephen Paul Weber 2010-04-01 18:39:04 -05:00
parent 99debc4540
commit 9cdc2500b1

View File

@ -647,7 +647,13 @@ class OpenPGP_SignaturePacket_RevocablePacket extends OpenPGP_SignaturePacket_Su
} }
class OpenPGP_SignaturePacket_KeyExpirationTimePacket extends OpenPGP_SignaturePacket_Subpacket { class OpenPGP_SignaturePacket_KeyExpirationTimePacket extends OpenPGP_SignaturePacket_Subpacket {
// TODO function read() {
$this->data = $this->read_timestamp();
}
function body() {
return pack('N', $this->data);
}
} }
class OpenPGP_SignaturePacket_PreferredSymmetricAlgorithmsPacket extends OpenPGP_SignaturePacket_Subpacket { class OpenPGP_SignaturePacket_PreferredSymmetricAlgorithmsPacket extends OpenPGP_SignaturePacket_Subpacket {