Skip to content

Commit

Permalink
Implement OpenPGP_SignaturePacket_KeyExpirationTimePacket
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma authored and artob committed Jun 18, 2010
1 parent 3862871 commit 92f73ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/openpgp.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,13 @@ class OpenPGP_SignaturePacket_RevocablePacket extends OpenPGP_SignaturePacket_Su
}

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 {
Expand Down

0 comments on commit 92f73ae

Please sign in to comment.