def _str_issuer_signature_subpacket(self, subpacket):
return subpacket['issuer'][-8:].upper()
+ def _str_embedded_signature_signature_subpacket(self, subpacket):
+ return subpacket['embedded']['signature-type']
+
def _str_user_id_packet(self):
return self['user']
def _parse_issuer_signature_subpacket(self, data, subpacket):
subpacket['issuer'] = ''.join('{:02x}'.format(byte) for byte in data)
+ def _parse_embedded_signature_signature_subpacket(self, data, subpacket):
+ subpacket['embedded'] = PGPPacket()
+ subpacket['embedded']._parse_signature_packet(data=data)
+
def _parse_user_id_packet(self, data):
self['user'] = str(data, 'utf-8')