Permalink
Browse files

Implement OpenPGP_SignaturePacket_SignatureExpirationTimePacket

  • Loading branch information...
1 parent f0cff37 commit 3862871df7a48bc08a0273a6c958a130b01968a1 @singpolyma singpolyma committed with bendiken Apr 1, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/openpgp.php
View
@@ -621,7 +621,13 @@ function body() {
}
class OpenPGP_SignaturePacket_SignatureExpirationTimePacket extends OpenPGP_SignaturePacket_Subpacket {
- // TODO
+ function read() {
+ $this->data = $this->read_timestamp();
+ }
+
+ function body() {
+ return pack('N', $this->data);
+ }
}
class OpenPGP_SignaturePacket_ExportableCertificationPacket extends OpenPGP_SignaturePacket_Subpacket {

0 comments on commit 3862871

Please sign in to comment.