RFC 2440:OpenPGP Message Format
RFC-Ref

tag


Click on the red underlined text to get to the source

... OpenPGP message is constructed from a number of records that are traditionally called packets. A packet is a chunk of data that has a tag specifying its meaning. An OpenPGP message, keyring, certificate, ...
... The first octet of the packet header is called the "Packet Tag." It determines the format of the header and denotes the packet contents. ...
... interoperability is not an issue, either format may be used. Note that old format packets have four bits of content tags, and new format packets have six; some features cannot be used and still be backward-compatible ...
... Bits 5-2 -- content tag Bits 1-0 - length-type ...
... Bits 5-0 -- content tag ...
... Packet Tags ...
... The packet tag denotes what type of packet the body holds. Note that old format headers can only have tags ...
... tag denotes what type of packet the body holds. Note that old format headers can only have tags less than 16, whereas new format headers can have tags ...
... tags less than 16, whereas new format headers can have tags as great as 63. The defined tags (in decimal) are: ...
... format headers can have tags as great as 63. The defined tags (in decimal) are: ...
... 0 -- Reserved - a packet tag must not have this value 1 -- Public-Key Encrypted ...


... Public-Key Encrypted Session Key Packets (Tag 1) ...
... Signature Packet (Tag 2) ...
... Symmetric-Key Encrypted Session-Key Packets (Tag 3) ...
... One-Pass Signature Packets (Tag 4) ...
... Public Key Packet (Tag 6) ...
... Public Subkey Packet (Tag 14) ...
... A Public Subkey packet (tag 14) has exactly the same format as a Public Key packet, but denotes a subkey ...
... Note: in PGP 2.6.x, tag 14 was intended to indicate a comment packet. This tag was selected for reuse because no previous version ...
... PGP 2.6.x, tag 14 was intended to indicate a comment packet. This tag was selected for reuse because no previous version of PGP ...
... Secret Key Packet (Tag 5) ...
... Secret Subkey Packet (Tag 7) ...
... A Secret Subkey packet (tag 7) is the subkey analog of the Secret Key ...
... Compressed Data Packet (Tag 8) ...
... Symmetrically Encrypted Data Packet (Tag 9) ...
... Marker Packet (Obsolete Literal Packet) (Tag 10) ...
... PGP generated Literal packets with this tag. With PGP 5.x, this packet has been re-assigned and is reserved for use as the Marker packet. ...
... Literal Data Packet (Tag 11) ...
... Trust Packet (Tag 12) ...
... User ID Packet (Tag 13) ...


... SHA-1 hash of the one-octet Packet Tag, followed by the two-octet packet length, followed by the entire Public Key packet ...



Google
Web
RFC-Ref