Module: packet/signature

packet/signature

Implementation of the Signature Packet (Tag 2)

RFC4480 5.2: A Signature packet describes a binding between some public key and some data. The most common signatures are a signature of a file or a block of text, and a signature that is a certification of a User ID.
Source:

Requires

Classes

Signature

Methods

<inner> write_sub_packet(type, data) → {String}

creates a string representation of a sub signature packet (See RFC 4880 5.2.3.1)
Parameters:
Name Type Description
type Integer subpacket signature type. Signature types as described in RFC4880 Section 5.2.3.2
data String data to be included
Source:
Returns:
a string-representation of a sub signature packet (See RFC 4880 5.2.3.1)
Type
String