Lines Matching +full:5 +full:- +full:byte

2 #------------------------------------------------------------------------------
6 # Handling of binary PGP keys is in pgp-binary-keys.
7 # see https://lists.gnupg.org/pipermail/gnupg-devel/1999-September/016052.html
10 #!:mime application/pgp-encrypted
11 #0 string -----BEGIN\040PGP text/PGP armored data
13 #>15 string PUBLIC\040KEY\040BLOCK- public key block
14 #>15 string MESSAGE- message
15 #>15 string SIGNED\040MESSAGE- signed message
16 #>15 string PGP\040SIGNATURE- signature
20 # Reference: https://reposcope.com/mimetype/application/pgp-keys
21 2 string ---BEGIN\040PGP\040PRIVATE\040KEY\040BLOCK- PGP private key block
23 !:mime application/pgp-keys
25 2 string ---BEGIN\040PGP\040PUBLIC\040KEY\040BLOCK- PGP public key block
26 !:mime application/pgp-keys
30 0 string -----BEGIN\040PGP\040MESSAGE- PGP message
31 # https://reposcope.com/mimetype/application/pgp-encrypted
33 !:mime application/pgp-encrypted
39 0 string -----BEGIN\040PGP\040SIGNED\040MESSAGE- PGP signed message
44 0 string -----BEGIN\040PGP\040SIGNATURE- PGP signature
45 # https://reposcope.com/mimetype/application/pgp-signature
46 !:mime application/pgp-signature
54 # https://tools.ietf.org/html/rfc4880#section-4.2
57 >0 byte 0x67 Reserved (old)
58 >0 byte 0x68 Public-Key Encrypted Session Key (old)
59 >0 byte 0x69 Signature (old)
60 >0 byte 0x6a Symmetric-Key Encrypted Session Key (old)
61 >0 byte 0x6b One-Pass Signature (old)
62 >0 byte 0x6c Secret-Key (old)
63 >0 byte 0x6d Public-Key (old)
64 >0 byte 0x6e Secret-Subkey (old)
65 >0 byte 0x6f Compressed Data (old)
66 >0 byte 0x70 Symmetrically Encrypted Data (old)
67 >0 byte 0x71 Marker (old)
68 >0 byte 0x72 Literal Data (old)
69 >0 byte 0x73 Trust (old)
70 >0 byte 0x74 User ID (old)
71 >0 byte 0x75 Public-Subkey (old)
72 >0 byte 0x76 Unused (old)
73 >0 byte 0x77
74 >>1 byte&0xc0 0x00 Reserved
75 >>1 byte&0xc0 0x40 Public-Key Encrypted Session Key
76 >>1 byte&0xc0 0x80 Signature
77 >>1 byte&0xc0 0xc0 Symmetric-Key Encrypted Session Key
78 >0 byte 0x78
79 >>1 byte&0xc0 0x00 One-Pass Signature
80 >>1 byte&0xc0 0x40 Secret-Key
81 >>1 byte&0xc0 0x80 Public-Key
82 >>1 byte&0xc0 0xc0 Secret-Subkey
83 >0 byte 0x79
84 >>1 byte&0xc0 0x00 Compressed Data
85 >>1 byte&0xc0 0x40 Symmetrically Encrypted Data
86 >>1 byte&0xc0 0x80 Marker
87 >>1 byte&0xc0 0xc0 Literal Data
88 >0 byte 0x7a
89 >>1 byte&0xc0 0x00 Trust
90 >>1 byte&0xc0 0x40 User ID
91 >>1 byte&0xc0 0x80 Public-Subkey
92 >>1 byte&0xc0 0xc0 Unused [z%x]
93 >0 byte 0x30
94 >>1 byte&0xc0 0x00 Unused [0%x]
95 >>1 byte&0xc0 0x40 User Attribute
96 >>1 byte&0xc0 0x80 Sym. Encrypted and Integrity Protected Data
97 >>1 byte&0xc0 0xc0 Modification Detection Code
101 # - symmetric encrypted packet header
102 # - RSA (e=65537) secret (sub-)keys
106 0 string \x84\x8c\x03 PGP RSA encrypted session key -
109 >11 byte 0x01 RSA (Encrypt or Sign) 1024b
110 >11 byte 0x02 RSA Encrypt-Only 1024b
119 #>142 byte 0xd2 .
123 0 string \x85\x01\x0c\x03 PGP RSA encrypted session key -
126 >12 byte 0x01 RSA (Encrypt or Sign) 2048b
127 >12 byte 0x02 RSA Encrypt-Only 2048b
136 #>271 byte 0xd2 .
140 0 string \x85\x01\x8c\x03 PGP RSA encrypted session key -
143 >12 byte 0x01 RSA (Encrypt or Sign) 3072b
144 >12 byte 0x02 RSA Encrypt-Only 3072b
153 #>399 byte 0xd2 .
157 0 string \x85\x02\x0c\x03 PGP RSA encrypted session key -
160 >12 byte 0x01 RSA (Encrypt or Sign) 4096b
161 >12 byte 0x02 RSA Encrypt-Only 4096b
170 #>527 byte 0xd2 .
174 0 string \x85\x04\x0c\x03 PGP RSA encrypted session key -
177 >12 byte 0x01 RSA (Encrypt or Sign) 8192b
178 >12 byte 0x02 RSA Encrypt-Only 8192b
187 #>1039 byte 0xd2 .
191 0 string \x85\x01\x0e\x03 PGP Elgamal encrypted session key -
194 >12 byte 0x10 Elgamal Encrypt-Only 1024b.
206 0 string \x85\x02\x0e\x03 PGP Elgamal encrypted session key -
209 >12 byte 0x10 Elgamal Encrypt-Only 2048b.
221 0 string \x85\x03\x0e\x03 PGP Elgamal encrypted session key -
224 >12 byte 0x10 Elgamal Encrypt-Only 3072b.
237 >0 byte 0x00 Plaintext or unencrypted data
238 >0 byte 0x01 IDEA
239 >0 byte 0x02 TripleDES
240 >0 byte 0x03 CAST5 (128 bit key)
241 >0 byte 0x04 Blowfish (128 bit key, 16 rounds)
242 >0 byte 0x07 AES with 128-bit key
243 >0 byte 0x08 AES with 192-bit key
244 >0 byte 0x09 AES with 256-bit key
245 >0 byte 0x0a Twofish with 256-bit key
250 >0 byte 0x01 MD5
251 >0 byte 0x02 SHA-1
252 >0 byte 0x03 RIPE-MD/160
253 >0 byte 0x08 SHA256
254 >0 byte 0x09 SHA384
255 >0 byte 0x0a SHA512
256 >0 byte 0x0b SHA224
260 >0 byte 0x01 RSA (Encrypt or Sign)
262 >0 byte 0x02 RSA Encrypt-Only
263 >0 byte 0x03 RSA (Sign-Only)
264 >0 byte 16 ElGamal (Encrypt-Only)
265 >0 byte 17 DSA
266 >0 byte 18 Elliptic Curve
267 >0 byte 19 ECDSA
268 >0 byte 20 ElGamal (Encrypt or Sign)
269 >0 byte 21 Diffie-Hellman
277 0 byte 0x8c PGP symmetric key encrypted data -
278 >1 byte 0x0d
279 >1 byte 0x0c
280 >2 byte 0x04
282 >4 byte 0x01 salted -
283 >>5 use hash
284 >>14 byte 0xd2 .
285 >>14 byte 0xc9 .
286 >4 byte 0x03 salted & iterated -
287 >>5 use hash
288 >>15 byte 0xd2 .
289 >>15 byte 0xc9 .
295 >1 byte 0x00 Simple S2K
296 >1 byte 0x01 Salted S2K
297 >1 byte 0x03 Salted&Iterated S2K
304 >0 byte 0x04
305 >1 beldate x created on %s -
306 >5 byte 0x01 RSA (Encrypt or Sign)
307 >5 byte 0x02 RSA Encrypt-Only
315 >5 use crypto
316 >5 byte 0xff checksummed
318 >5 byte 0xfe hashed
540 # PGP RSA (e=65537) secret (sub-)key header
542 0 byte 0x97 PGP Secret Sub-key -
544 0 byte 0x9d
546 # secret subkey packet (tag 7) with same structure as secret key packet (tag 5)
555 >>>3 ubyte <5 PGP Secret Sub-key
556 # sub-key are normally part of secret key. So it does not occur as standalone file
560 >>>>3 ubyte x -
563 # 2 byte for key bits in version 5.28 look
565 >>>>>4 beldate x created on %s -
568 # display key algorithm 1~RSA Encrypt|Sign - 21~Diffie-Hellman
572 >>>>>>&5 use keyend
576 >>>>>4 beldate x created on %s -