def _str_issuer_signature_subpacket(self, subpacket):
return subpacket['issuer'][-8:].upper()
+ def _str_key_expiration_time_signature_subpacket(self, subpacket):
+ return str(subpacket['key-expiration-time'])
+
def _str_preferred_symmetric_algorithms_signature_subpacket(
self, subpacket):
return ', '.join(
def _parse_issuer_signature_subpacket(self, data, subpacket):
subpacket['issuer'] = ''.join('{:02x}'.format(byte) for byte in data)
+ def _parse_key_expiration_time_signature_subpacket(
+ self, data, subpacket):
+ subpacket['key-expiration-time'] = _struct.unpack('>I', data)[0]
+
def _parse_preferred_symmetric_algorithms_signature_subpacket(
self, data, subpacket):
subpacket['preferred-symmetric-algorithms'] = [