I had hoped that someone else would step up to my suggestion that the
content tags (nee cipher type) would be carefully listed. Since nobody
else has done it, I've started the list. I only have the source to
2.6.2, so here's what I have until 5.0 source is available.
Also, I see a very easy method to add SPKI-style SDSI textual
conventions to the database format. I've proposed that on the SPKI
list, and I've included the simple addition and terminology changes that
make this possible.
hex length usage element
=== ====== ===== =======
00... none ///
09 HT none SPKI VTF
0A... none ///
20 none SPKI VTF
21 none +++
22 " none SPKI VTF
23 # none SPKI VTF
24... none +++
28 ( none SPKI S-expression begin
29 ) none SPKI S-expression end
2A... none +++
30... none SPKI byte-stream format
3B... none +++
7B { none M SPKI base64-stream begin
7C | none SPKI VTF
7D } none M SPKI base64-stream end
7E none +++
7F none ///
80 8-bit 255 +++
81 16-bit +++
82 32-bit +++
83 to end +++
84 8-bit 255 +++
85 16-bit M Public-Key-Encrypted Symmetric-Key
86 32-bit +++
87 to end +++
88 8-bit 255 ??? (check rfc1991 mismatch PGP2.6.2)
89 16-bit I Signature
8A 32-bit +++
8B to end +++
8C 8-bit 255 SI Hash???
8D 16-bit +++???
8E 32-bit +++???
8F to end +++???
90 8-bit 255 +++
91 16-bit +++
92 32-bit +++
93 to end +++
94 8-bit 255 +++
95 16-bit X Private-Key
96 32-bit +++
97 to end +++
98 8-bit 255 ??? (check rfc1991 mismatch PGP2.6.2)
99 16-bit SI Public-Key
9A 32-bit +++
9B to end +++
9C 8-bit 255 +++
9D 16-bit +++
9E 32-bit +++
9F to end +++
A0 8-bit 255 +++
A1 16-bit +++
A2 32-bit +++
A3 to end M Compressed Data
A4 8-bit 255 ---
A5 16-bit ---
A6 32-bit ---
A7 to end M Symmetric-Key-Encrypted Data
A8 8-bit 255 ? Version?
A9 16-bit ---?
AA 32-bit ---?
AB to end M Obsolete-Literal?
AC 8-bit 255 +++
AD 16-bit +++
AE 32-bit +++
AF to end M Fixed-Literal
B0 8-bit 255 A Trust???
B1 16-bit +++???
B2 32-bit +++???
B3 to end +++???
B4 8-bit 255 A Name
B5 16-bit ---
B6 32-bit ---
B7 to end ---
B8 8-bit 255 +++
B9 16-bit +++
BA 32-bit +++
BB to end +++ (?)
BC 8-bit 255 +++
BD 16-bit +++
BE 32-bit +++
BF to end +++
C0 V +++
C1 V Public-Key-Encrypted Symmetric-Key
C2 V Signature
(etc.)
Usage:
A Assertion
I Issuer
M Message only
S Subject
X DataBase (KeyRing) only
+++:
For future use.
A CTB with this value is skipped,
using the specified length.
---:
Never generated (extension conflict).
A CTB with this value is skipped,
using the specified length.
///:
MUST NOT be used.
A CTB with this value causes a processing abort.
SPKI VTF:
Visual Textual Format.
A CTB with this value causes a processing abort.
to end:
Indeterminate length runs to end of data.
WSimpson(_at_)UMich(_dot_)edu
Key fingerprint = 17 40 5E 67 15 6F 31 26 DD 0D B9 9B 6A 15 2C 32
BSimpson(_at_)MorningStar(_dot_)com
Key fingerprint = 2E 07 23 03 C5 62 70 D3 59 B1 4F 5E 1D C2 C1 A2