rpm 4.20.1 The RPM Package Manager

Loading...
Searching...
No Matches
rpmpgp.h
Go to the documentation of this file.
1#ifndef H_RPMPGP
2#define H_RPMPGP
3
17#include <string.h>
18#include <stdio.h>
19#include <stdlib.h>
20#include <rpm/rpmtypes.h>
21#include <rpm/rpmstring.h>
22#include <rpm/rpmcrypto.h>
23
24#ifdef __cplusplus
25 extern "C" {
26#endif
27
30 typedef struct pgpDigParams_s * pgpDigParams;
31
35#define PGP_KEYID_LEN 8
36
37 typedef uint8_t pgpKeyID_t[PGP_KEYID_LEN];
38
42 typedef enum pgpTag_e {
43 PGPTAG_RESERVED = 0,
44 PGPTAG_PUBLIC_SESSION_KEY = 1,
45 PGPTAG_SIGNATURE = 2,
46 PGPTAG_SYMMETRIC_SESSION_KEY= 3,
47 PGPTAG_ONEPASS_SIGNATURE = 4,
48 PGPTAG_SECRET_KEY = 5,
49 PGPTAG_PUBLIC_KEY = 6,
50 PGPTAG_SECRET_SUBKEY = 7,
51 PGPTAG_COMPRESSED_DATA = 8,
52 PGPTAG_SYMMETRIC_DATA = 9,
53 PGPTAG_MARKER = 10,
54 PGPTAG_LITERAL_DATA = 11,
55 PGPTAG_TRUST = 12,
56 PGPTAG_USER_ID = 13,
57 PGPTAG_PUBLIC_SUBKEY = 14,
58 PGPTAG_COMMENT_OLD = 16,
59 PGPTAG_PHOTOID = 17,
60 PGPTAG_ENCRYPTED_MDC = 18,
61 PGPTAG_MDC = 19,
62 PGPTAG_PRIVATE_60 = 60,
63 PGPTAG_COMMENT = 61,
64 PGPTAG_PRIVATE_62 = 62,
65 PGPTAG_CONTROL = 63
66} pgpTag;
67
71 typedef enum pgpSigType_e {
72 PGPSIGTYPE_BINARY = 0x00,
73 PGPSIGTYPE_TEXT = 0x01,
74 PGPSIGTYPE_STANDALONE = 0x02,
75 PGPSIGTYPE_GENERIC_CERT = 0x10,
77 PGPSIGTYPE_PERSONA_CERT = 0x11,
79 PGPSIGTYPE_CASUAL_CERT = 0x12,
81 PGPSIGTYPE_POSITIVE_CERT = 0x13,
83 PGPSIGTYPE_SUBKEY_BINDING = 0x18,
84 PGPSIGTYPE_PRIMARY_BINDING = 0x19,
85 PGPSIGTYPE_SIGNED_KEY = 0x1F,
86 PGPSIGTYPE_KEY_REVOKE = 0x20,
87 PGPSIGTYPE_SUBKEY_REVOKE = 0x28,
88 PGPSIGTYPE_CERT_REVOKE = 0x30,
89 PGPSIGTYPE_TIMESTAMP = 0x40
90} pgpSigType;
91
95 typedef enum pgpPubkeyAlgo_e {
96 PGPPUBKEYALGO_RSA = 1,
97 PGPPUBKEYALGO_RSA_ENCRYPT = 2,
98 PGPPUBKEYALGO_RSA_SIGN = 3,
99 PGPPUBKEYALGO_ELGAMAL_ENCRYPT = 16,
100 PGPPUBKEYALGO_DSA = 17,
101 PGPPUBKEYALGO_EC = 18,
102 PGPPUBKEYALGO_ECDSA = 19,
103 PGPPUBKEYALGO_ELGAMAL = 20,
104 PGPPUBKEYALGO_DH = 21,
105 PGPPUBKEYALGO_EDDSA = 22
106} pgpPubkeyAlgo;
107
111 typedef enum pgpSymkeyAlgo_e {
112 PGPSYMKEYALGO_PLAINTEXT = 0,
113 PGPSYMKEYALGO_IDEA = 1,
114 PGPSYMKEYALGO_TRIPLE_DES = 2,
115 PGPSYMKEYALGO_CAST5 = 3,
116 PGPSYMKEYALGO_BLOWFISH = 4,
117 PGPSYMKEYALGO_SAFER = 5,
118 PGPSYMKEYALGO_DES_SK = 6,
119 PGPSYMKEYALGO_AES_128 = 7,
120 PGPSYMKEYALGO_AES_192 = 8,
121 PGPSYMKEYALGO_AES_256 = 9,
122 PGPSYMKEYALGO_TWOFISH = 10,
123 PGPSYMKEYALGO_NOENCRYPT = 110
124} pgpSymkeyAlgo;
125
129 typedef enum pgpCompressAlgo_e {
130 PGPCOMPRESSALGO_NONE = 0,
131 PGPCOMPRESSALGO_ZIP = 1,
132 PGPCOMPRESSALGO_ZLIB = 2,
133 PGPCOMPRESSALGO_BZIP2 = 3
134} pgpCompressAlgo;
135
139 typedef enum pgpHashAlgo_e {
140 PGPHASHALGO_MD5 = 1,
141 PGPHASHALGO_SHA1 = 2,
142 PGPHASHALGO_RIPEMD160 = 3,
143 PGPHASHALGO_MD2 = 5,
144 PGPHASHALGO_TIGER192 = 6,
145 PGPHASHALGO_HAVAL_5_160 = 7,
146 PGPHASHALGO_SHA256 = 8,
147 PGPHASHALGO_SHA384 = 9,
148 PGPHASHALGO_SHA512 = 10,
149 PGPHASHALGO_SHA224 = 11,
150} pgpHashAlgo;
151
158 typedef enum pgpCurveId_e {
159 PGPCURVE_NIST_P_256 = 1,
160 PGPCURVE_NIST_P_384 = 2,
161 PGPCURVE_NIST_P_521 = 3,
162 PGPCURVE_BRAINPOOL_P256R1 = 4,
163 PGPCURVE_BRAINPOOL_P512R1 = 5,
164 PGPCURVE_ED25519 = 6,
165 PGPCURVE_CURVE25519 = 7,
166} pgpCurveId;
167
171 typedef enum pgpSubType_e {
172 PGPSUBTYPE_NONE = 0,
173 PGPSUBTYPE_SIG_CREATE_TIME = 2,
174 PGPSUBTYPE_SIG_EXPIRE_TIME = 3,
175 PGPSUBTYPE_EXPORTABLE_CERT = 4,
176 PGPSUBTYPE_TRUST_SIG = 5,
177 PGPSUBTYPE_REGEX = 6,
178 PGPSUBTYPE_REVOCABLE = 7,
179 PGPSUBTYPE_KEY_EXPIRE_TIME = 9,
180 PGPSUBTYPE_ARR = 10,
181 PGPSUBTYPE_PREFER_SYMKEY = 11,
182 PGPSUBTYPE_REVOKE_KEY = 12,
183 PGPSUBTYPE_ISSUER_KEYID = 16,
184 PGPSUBTYPE_NOTATION = 20,
185 PGPSUBTYPE_PREFER_HASH = 21,
186 PGPSUBTYPE_PREFER_COMPRESS = 22,
187 PGPSUBTYPE_KEYSERVER_PREFERS= 23,
188 PGPSUBTYPE_PREFER_KEYSERVER = 24,
189 PGPSUBTYPE_PRIMARY_USERID = 25,
190 PGPSUBTYPE_POLICY_URL = 26,
191 PGPSUBTYPE_KEY_FLAGS = 27,
192 PGPSUBTYPE_SIGNER_USERID = 28,
193 PGPSUBTYPE_REVOKE_REASON = 29,
194 PGPSUBTYPE_FEATURES = 30,
195 PGPSUBTYPE_EMBEDDED_SIG = 32,
196 PGPSUBTYPE_ISSUER_FINGERPRINT= 33,
198 PGPSUBTYPE_INTERNAL_100 = 100,
199 PGPSUBTYPE_INTERNAL_101 = 101,
200 PGPSUBTYPE_INTERNAL_102 = 102,
201 PGPSUBTYPE_INTERNAL_103 = 103,
202 PGPSUBTYPE_INTERNAL_104 = 104,
203 PGPSUBTYPE_INTERNAL_105 = 105,
204 PGPSUBTYPE_INTERNAL_106 = 106,
205 PGPSUBTYPE_INTERNAL_107 = 107,
206 PGPSUBTYPE_INTERNAL_108 = 108,
207 PGPSUBTYPE_INTERNAL_109 = 109,
208 PGPSUBTYPE_INTERNAL_110 = 110,
210 PGPSUBTYPE_CRITICAL = 128
211} pgpSubType;
212
215 typedef enum pgpArmor_e {
216 PGPARMOR_ERR_CRC_CHECK = -7,
217 PGPARMOR_ERR_BODY_DECODE = -6,
218 PGPARMOR_ERR_CRC_DECODE = -5,
219 PGPARMOR_ERR_NO_END_PGP = -4,
220 PGPARMOR_ERR_UNKNOWN_PREAMBLE_TAG = -3,
221 PGPARMOR_ERR_UNKNOWN_ARMOR_TYPE = -2,
222 PGPARMOR_ERR_NO_BEGIN_PGP = -1,
223#define PGPARMOR_ERROR PGPARMOR_ERR_NO_BEGIN_PGP
224 PGPARMOR_NONE = 0,
225 PGPARMOR_MESSAGE = 1,
226 PGPARMOR_PUBKEY = 2,
227 PGPARMOR_SIGNATURE = 3,
228 PGPARMOR_SIGNED_MESSAGE = 4,
229 PGPARMOR_FILE = 5,
230 PGPARMOR_PRIVKEY = 6,
231 PGPARMOR_SECKEY = 7
232} pgpArmor;
233
236 typedef enum pgpArmorKey_e {
237 PGPARMORKEY_VERSION = 1,
238 PGPARMORKEY_COMMENT = 2,
239 PGPARMORKEY_MESSAGEID = 3,
240 PGPARMORKEY_HASH = 4,
241 PGPARMORKEY_CHARSET = 5
242} pgpArmorKey;
243
244 typedef enum pgpValType_e {
245 PGPVAL_TAG = 1,
246 PGPVAL_ARMORBLOCK = 2,
247 PGPVAL_ARMORKEY = 3,
248 PGPVAL_SIGTYPE = 4,
249 PGPVAL_SUBTYPE = 5,
250 PGPVAL_PUBKEYALGO = 6,
251 PGPVAL_SYMKEYALGO = 7,
252 PGPVAL_COMPRESSALGO = 8,
253 PGPVAL_HASHALGO = 9,
254 PGPVAL_SERVERPREFS = 10,
255} pgpValType;
256
263 const char * pgpValString(pgpValType type, uint8_t val);
264
273 int pgpPubkeyFingerprint(const uint8_t * pkt, size_t pktlen,
274 uint8_t **fp, size_t *fplen);
275
283 int pgpPubkeyKeyID(const uint8_t * pkt, size_t pktlen, pgpKeyID_t keyid);
284
293 int pgpPrtParams(const uint8_t *pkts, size_t pktlen, unsigned int pkttype,
294 pgpDigParams * ret);
295
305 int pgpPrtParams2(const uint8_t *pkts, size_t pktlen, unsigned int pkttype,
306 pgpDigParams * ret, char **lints);
307
317 int pgpPrtParamsSubkeys(const uint8_t *pkts, size_t pktlen,
318 pgpDigParams mainkey, pgpDigParams **subkeys,
319 int *subkeysCount);
320
328pgpArmor pgpReadPkts(const char * fn, uint8_t ** pkt, size_t * pktlen);
329
337pgpArmor pgpParsePkts(const char *armor, uint8_t ** pkt, size_t * pktlen);
338
351 int pgpPubKeyCertLen(const uint8_t *pkts, size_t pktslen, size_t *certlen);
352
377 rpmRC pgpPubKeyLint(const uint8_t *pkts, size_t pktslen, char **explanation);
378
386 char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns);
387
394 int pgpDigParamsCmp(pgpDigParams p1, pgpDigParams p2);
395
402 unsigned int pgpDigParamsAlgo(pgpDigParams digp, unsigned int algotype);
403
420 const uint8_t *pgpDigParamsSignID(pgpDigParams digp);
421
440 const char *pgpDigParamsUserID(pgpDigParams digp);
441
459 int pgpDigParamsVersion(pgpDigParams digp);
460
467uint32_t pgpDigParamsCreationTime(pgpDigParams digp);
468
474pgpDigParams pgpDigParamsFree(pgpDigParams digp);
475
483 rpmRC pgpVerifySignature(pgpDigParams key, pgpDigParams sig, DIGEST_CTX hashctx);
484
493 rpmRC pgpVerifySignature2(pgpDigParams key, pgpDigParams sig, DIGEST_CTX hashctx,
494 char **lints);
495
503 int pgpSignatureType(pgpDigParams sig);
504
510 char *pgpIdentItem(pgpDigParams digp);
511
512#ifdef __cplusplus
513}
514#endif
515
516#endif /* H_RPMPGP */
pgpValString
const char * pgpValString(pgpValType type, uint8_t val)
pgpTag
enum pgpTag_e pgpTag
pgpHashAlgo
enum pgpHashAlgo_e pgpHashAlgo
pgpVerifySignature
rpmRC pgpVerifySignature(pgpDigParams key, pgpDigParams sig, DIGEST_CTX hashctx)
pgpPrtParams
int pgpPrtParams(const uint8_t *pkts, size_t pktlen, unsigned int pkttype, pgpDigParams *ret)
pgpPubkeyAlgo
enum pgpPubkeyAlgo_e pgpPubkeyAlgo
pgpSigType
enum pgpSigType_e pgpSigType
pgpCompressAlgo_e
pgpCompressAlgo_e
Definition rpmpgp.h:129
pgpDigParamsCreationTime
uint32_t pgpDigParamsCreationTime(pgpDigParams digp)
pgpPubKeyCertLen
int pgpPubKeyCertLen(const uint8_t *pkts, size_t pktslen, size_t *certlen)
pgpDigParamsSignID
const uint8_t * pgpDigParamsSignID(pgpDigParams digp)
pgpSignatureType
int pgpSignatureType(pgpDigParams sig)
pgpPrtParams2
int pgpPrtParams2(const uint8_t *pkts, size_t pktlen, unsigned int pkttype, pgpDigParams *ret, char **lints)
pgpPubkeyAlgo_e
pgpPubkeyAlgo_e
Definition rpmpgp.h:95
pgpDigParamsVersion
int pgpDigParamsVersion(pgpDigParams digp)
pgpVerifySignature2
rpmRC pgpVerifySignature2(pgpDigParams key, pgpDigParams sig, DIGEST_CTX hashctx, char **lints)
pgpParsePkts
pgpArmor pgpParsePkts(const char *armor, uint8_t **pkt, size_t *pktlen)
pgpReadPkts
pgpArmor pgpReadPkts(const char *fn, uint8_t **pkt, size_t *pktlen)
pgpPubKeyLint
rpmRC pgpPubKeyLint(const uint8_t *pkts, size_t pktslen, char **explanation)
pgpCurveId_e
pgpCurveId_e
Definition rpmpgp.h:158
pgpCompressAlgo
enum pgpCompressAlgo_e pgpCompressAlgo
pgpArmor_e
pgpArmor_e
Definition rpmpgp.h:215
pgpHashAlgo_e
pgpHashAlgo_e
Definition rpmpgp.h:139
pgpSigType_e
pgpSigType_e
Definition rpmpgp.h:71
pgpDigParamsCmp
int pgpDigParamsCmp(pgpDigParams p1, pgpDigParams p2)
pgpArmorWrap
char * pgpArmorWrap(int atype, const unsigned char *s, size_t ns)
pgpArmorKey_e
pgpArmorKey_e
Definition rpmpgp.h:236
pgpDigParamsAlgo
unsigned int pgpDigParamsAlgo(pgpDigParams digp, unsigned int algotype)
PGP_KEYID_LEN
#define PGP_KEYID_LEN
Definition rpmpgp.h:35
pgpSymkeyAlgo
enum pgpSymkeyAlgo_e pgpSymkeyAlgo
pgpDigParamsFree
pgpDigParams pgpDigParamsFree(pgpDigParams digp)
pgpPubkeyKeyID
int pgpPubkeyKeyID(const uint8_t *pkt, size_t pktlen, pgpKeyID_t keyid)
pgpTag_e
pgpTag_e
Definition rpmpgp.h:42
pgpSymkeyAlgo_e
pgpSymkeyAlgo_e
Definition rpmpgp.h:111
pgpSubType
enum pgpSubType_e pgpSubType
pgpDigParamsUserID
const char * pgpDigParamsUserID(pgpDigParams digp)
pgpPrtParamsSubkeys
int pgpPrtParamsSubkeys(const uint8_t *pkts, size_t pktlen, pgpDigParams mainkey, pgpDigParams **subkeys, int *subkeysCount)
pgpIdentItem
char * pgpIdentItem(pgpDigParams digp)
pgpPubkeyFingerprint
int pgpPubkeyFingerprint(const uint8_t *pkt, size_t pktlen, uint8_t **fp, size_t *fplen)
pgpSubType_e
pgpSubType_e
Definition rpmpgp.h:171
pgpCurveId
enum pgpCurveId_e pgpCurveId
PGPCOMPRESSALGO_NONE
@ PGPCOMPRESSALGO_NONE
Definition rpmpgp.h:130
PGPCOMPRESSALGO_BZIP2
@ PGPCOMPRESSALGO_BZIP2
Definition rpmpgp.h:133
PGPCOMPRESSALGO_ZLIB
@ PGPCOMPRESSALGO_ZLIB
Definition rpmpgp.h:132
PGPCOMPRESSALGO_ZIP
@ PGPCOMPRESSALGO_ZIP
Definition rpmpgp.h:131
PGPPUBKEYALGO_ELGAMAL
@ PGPPUBKEYALGO_ELGAMAL
Definition rpmpgp.h:103
PGPPUBKEYALGO_EC
@ PGPPUBKEYALGO_EC
Definition rpmpgp.h:101
PGPPUBKEYALGO_EDDSA
@ PGPPUBKEYALGO_EDDSA
Definition rpmpgp.h:105
PGPPUBKEYALGO_RSA_ENCRYPT
@ PGPPUBKEYALGO_RSA_ENCRYPT
Definition rpmpgp.h:97
PGPPUBKEYALGO_ELGAMAL_ENCRYPT
@ PGPPUBKEYALGO_ELGAMAL_ENCRYPT
Definition rpmpgp.h:99
PGPPUBKEYALGO_RSA
@ PGPPUBKEYALGO_RSA
Definition rpmpgp.h:96
PGPPUBKEYALGO_ECDSA
@ PGPPUBKEYALGO_ECDSA
Definition rpmpgp.h:102
PGPPUBKEYALGO_DH
@ PGPPUBKEYALGO_DH
Definition rpmpgp.h:104
PGPPUBKEYALGO_RSA_SIGN
@ PGPPUBKEYALGO_RSA_SIGN
Definition rpmpgp.h:98
PGPPUBKEYALGO_DSA
@ PGPPUBKEYALGO_DSA
Definition rpmpgp.h:100
PGPCURVE_ED25519
@ PGPCURVE_ED25519
Definition rpmpgp.h:164
PGPCURVE_NIST_P_384
@ PGPCURVE_NIST_P_384
Definition rpmpgp.h:160
PGPCURVE_NIST_P_521
@ PGPCURVE_NIST_P_521
Definition rpmpgp.h:161
PGPCURVE_BRAINPOOL_P256R1
@ PGPCURVE_BRAINPOOL_P256R1
Definition rpmpgp.h:162
PGPCURVE_BRAINPOOL_P512R1
@ PGPCURVE_BRAINPOOL_P512R1
Definition rpmpgp.h:163
PGPCURVE_NIST_P_256
@ PGPCURVE_NIST_P_256
Definition rpmpgp.h:159
PGPCURVE_CURVE25519
@ PGPCURVE_CURVE25519
Definition rpmpgp.h:165
PGPARMOR_PRIVKEY
@ PGPARMOR_PRIVKEY
Definition rpmpgp.h:230
PGPARMOR_MESSAGE
@ PGPARMOR_MESSAGE
Definition rpmpgp.h:225
PGPARMOR_PUBKEY
@ PGPARMOR_PUBKEY
Definition rpmpgp.h:226
PGPARMOR_SIGNED_MESSAGE
@ PGPARMOR_SIGNED_MESSAGE
Definition rpmpgp.h:228
PGPARMOR_SIGNATURE
@ PGPARMOR_SIGNATURE
Definition rpmpgp.h:227
PGPARMOR_FILE
@ PGPARMOR_FILE
Definition rpmpgp.h:229
PGPARMOR_SECKEY
@ PGPARMOR_SECKEY
Definition rpmpgp.h:231
PGPHASHALGO_SHA384
@ PGPHASHALGO_SHA384
Definition rpmpgp.h:147
PGPHASHALGO_SHA256
@ PGPHASHALGO_SHA256
Definition rpmpgp.h:146
PGPHASHALGO_HAVAL_5_160
@ PGPHASHALGO_HAVAL_5_160
Definition rpmpgp.h:145
PGPHASHALGO_MD2
@ PGPHASHALGO_MD2
Definition rpmpgp.h:143
PGPHASHALGO_RIPEMD160
@ PGPHASHALGO_RIPEMD160
Definition rpmpgp.h:142
PGPHASHALGO_TIGER192
@ PGPHASHALGO_TIGER192
Definition rpmpgp.h:144
PGPHASHALGO_SHA512
@ PGPHASHALGO_SHA512
Definition rpmpgp.h:148
PGPHASHALGO_MD5
@ PGPHASHALGO_MD5
Definition rpmpgp.h:140
PGPHASHALGO_SHA224
@ PGPHASHALGO_SHA224
Definition rpmpgp.h:149
PGPHASHALGO_SHA1
@ PGPHASHALGO_SHA1
Definition rpmpgp.h:141
PGPSIGTYPE_CASUAL_CERT
@ PGPSIGTYPE_CASUAL_CERT
Definition rpmpgp.h:79
PGPSIGTYPE_STANDALONE
@ PGPSIGTYPE_STANDALONE
Definition rpmpgp.h:74
PGPSIGTYPE_GENERIC_CERT
@ PGPSIGTYPE_GENERIC_CERT
Definition rpmpgp.h:75
PGPSIGTYPE_SUBKEY_BINDING
@ PGPSIGTYPE_SUBKEY_BINDING
Definition rpmpgp.h:83
PGPSIGTYPE_KEY_REVOKE
@ PGPSIGTYPE_KEY_REVOKE
Definition rpmpgp.h:86
PGPSIGTYPE_PERSONA_CERT
@ PGPSIGTYPE_PERSONA_CERT
Definition rpmpgp.h:77
PGPSIGTYPE_SIGNED_KEY
@ PGPSIGTYPE_SIGNED_KEY
Definition rpmpgp.h:85
PGPSIGTYPE_SUBKEY_REVOKE
@ PGPSIGTYPE_SUBKEY_REVOKE
Definition rpmpgp.h:87
PGPSIGTYPE_TEXT
@ PGPSIGTYPE_TEXT
Definition rpmpgp.h:73
PGPSIGTYPE_PRIMARY_BINDING
@ PGPSIGTYPE_PRIMARY_BINDING
Definition rpmpgp.h:84
PGPSIGTYPE_CERT_REVOKE
@ PGPSIGTYPE_CERT_REVOKE
Definition rpmpgp.h:88
PGPSIGTYPE_BINARY
@ PGPSIGTYPE_BINARY
Definition rpmpgp.h:72
PGPSIGTYPE_TIMESTAMP
@ PGPSIGTYPE_TIMESTAMP
Definition rpmpgp.h:89
PGPSIGTYPE_POSITIVE_CERT
@ PGPSIGTYPE_POSITIVE_CERT
Definition rpmpgp.h:81
PGPARMORKEY_COMMENT
@ PGPARMORKEY_COMMENT
Definition rpmpgp.h:238
PGPARMORKEY_MESSAGEID
@ PGPARMORKEY_MESSAGEID
Definition rpmpgp.h:239
PGPARMORKEY_HASH
@ PGPARMORKEY_HASH
Definition rpmpgp.h:240
PGPARMORKEY_CHARSET
@ PGPARMORKEY_CHARSET
Definition rpmpgp.h:241
PGPARMORKEY_VERSION
@ PGPARMORKEY_VERSION
Definition rpmpgp.h:237
PGPTAG_COMPRESSED_DATA
@ PGPTAG_COMPRESSED_DATA
Definition rpmpgp.h:51
PGPTAG_PRIVATE_60
@ PGPTAG_PRIVATE_60
Definition rpmpgp.h:62
PGPTAG_MARKER
@ PGPTAG_MARKER
Definition rpmpgp.h:53
PGPTAG_SYMMETRIC_DATA
@ PGPTAG_SYMMETRIC_DATA
Definition rpmpgp.h:52
PGPTAG_USER_ID
@ PGPTAG_USER_ID
Definition rpmpgp.h:56
PGPTAG_ENCRYPTED_MDC
@ PGPTAG_ENCRYPTED_MDC
Definition rpmpgp.h:60
PGPTAG_SECRET_SUBKEY
@ PGPTAG_SECRET_SUBKEY
Definition rpmpgp.h:50
PGPTAG_PRIVATE_62
@ PGPTAG_PRIVATE_62
Definition rpmpgp.h:64
PGPTAG_ONEPASS_SIGNATURE
@ PGPTAG_ONEPASS_SIGNATURE
Definition rpmpgp.h:47
PGPTAG_TRUST
@ PGPTAG_TRUST
Definition rpmpgp.h:55
PGPTAG_PUBLIC_KEY
@ PGPTAG_PUBLIC_KEY
Definition rpmpgp.h:49
PGPTAG_RESERVED
@ PGPTAG_RESERVED
Definition rpmpgp.h:43
PGPTAG_COMMENT_OLD
@ PGPTAG_COMMENT_OLD
Definition rpmpgp.h:58
PGPTAG_PHOTOID
@ PGPTAG_PHOTOID
Definition rpmpgp.h:59
PGPTAG_LITERAL_DATA
@ PGPTAG_LITERAL_DATA
Definition rpmpgp.h:54
PGPTAG_SIGNATURE
@ PGPTAG_SIGNATURE
Definition rpmpgp.h:45
PGPTAG_PUBLIC_SESSION_KEY
@ PGPTAG_PUBLIC_SESSION_KEY
Definition rpmpgp.h:44
PGPTAG_SYMMETRIC_SESSION_KEY
@ PGPTAG_SYMMETRIC_SESSION_KEY
Definition rpmpgp.h:46
PGPTAG_COMMENT
@ PGPTAG_COMMENT
Definition rpmpgp.h:63
PGPTAG_SECRET_KEY
@ PGPTAG_SECRET_KEY
Definition rpmpgp.h:48
PGPTAG_PUBLIC_SUBKEY
@ PGPTAG_PUBLIC_SUBKEY
Definition rpmpgp.h:57
PGPTAG_MDC
@ PGPTAG_MDC
Definition rpmpgp.h:61
PGPTAG_CONTROL
@ PGPTAG_CONTROL
Definition rpmpgp.h:65
PGPSYMKEYALGO_DES_SK
@ PGPSYMKEYALGO_DES_SK
Definition rpmpgp.h:118
PGPSYMKEYALGO_BLOWFISH
@ PGPSYMKEYALGO_BLOWFISH
Definition rpmpgp.h:116
PGPSYMKEYALGO_PLAINTEXT
@ PGPSYMKEYALGO_PLAINTEXT
Definition rpmpgp.h:112
PGPSYMKEYALGO_AES_192
@ PGPSYMKEYALGO_AES_192
Definition rpmpgp.h:120
PGPSYMKEYALGO_NOENCRYPT
@ PGPSYMKEYALGO_NOENCRYPT
Definition rpmpgp.h:123
PGPSYMKEYALGO_AES_256
@ PGPSYMKEYALGO_AES_256
Definition rpmpgp.h:121
PGPSYMKEYALGO_TWOFISH
@ PGPSYMKEYALGO_TWOFISH
Definition rpmpgp.h:122
PGPSYMKEYALGO_TRIPLE_DES
@ PGPSYMKEYALGO_TRIPLE_DES
Definition rpmpgp.h:114
PGPSYMKEYALGO_CAST5
@ PGPSYMKEYALGO_CAST5
Definition rpmpgp.h:115
PGPSYMKEYALGO_SAFER
@ PGPSYMKEYALGO_SAFER
Definition rpmpgp.h:117
PGPSYMKEYALGO_IDEA
@ PGPSYMKEYALGO_IDEA
Definition rpmpgp.h:113
PGPSYMKEYALGO_AES_128
@ PGPSYMKEYALGO_AES_128
Definition rpmpgp.h:119
PGPSUBTYPE_EMBEDDED_SIG
@ PGPSUBTYPE_EMBEDDED_SIG
Definition rpmpgp.h:195
PGPSUBTYPE_EXPORTABLE_CERT
@ PGPSUBTYPE_EXPORTABLE_CERT
Definition rpmpgp.h:175
PGPSUBTYPE_ARR
@ PGPSUBTYPE_ARR
Definition rpmpgp.h:180
PGPSUBTYPE_NOTATION
@ PGPSUBTYPE_NOTATION
Definition rpmpgp.h:184
PGPSUBTYPE_ISSUER_FINGERPRINT
@ PGPSUBTYPE_ISSUER_FINGERPRINT
Definition rpmpgp.h:196
PGPSUBTYPE_ISSUER_KEYID
@ PGPSUBTYPE_ISSUER_KEYID
Definition rpmpgp.h:183
PGPSUBTYPE_REVOCABLE
@ PGPSUBTYPE_REVOCABLE
Definition rpmpgp.h:178
PGPSUBTYPE_POLICY_URL
@ PGPSUBTYPE_POLICY_URL
Definition rpmpgp.h:190
PGPSUBTYPE_FEATURES
@ PGPSUBTYPE_FEATURES
Definition rpmpgp.h:194
PGPSUBTYPE_TRUST_SIG
@ PGPSUBTYPE_TRUST_SIG
Definition rpmpgp.h:176
PGPSUBTYPE_PREFER_SYMKEY
@ PGPSUBTYPE_PREFER_SYMKEY
Definition rpmpgp.h:181
PGPSUBTYPE_SIG_EXPIRE_TIME
@ PGPSUBTYPE_SIG_EXPIRE_TIME
Definition rpmpgp.h:174
PGPSUBTYPE_INTERNAL_104
@ PGPSUBTYPE_INTERNAL_104
Definition rpmpgp.h:202
PGPSUBTYPE_SIGNER_USERID
@ PGPSUBTYPE_SIGNER_USERID
Definition rpmpgp.h:192
PGPSUBTYPE_PREFER_COMPRESS
@ PGPSUBTYPE_PREFER_COMPRESS
Definition rpmpgp.h:186
PGPSUBTYPE_KEY_EXPIRE_TIME
@ PGPSUBTYPE_KEY_EXPIRE_TIME
Definition rpmpgp.h:179
PGPSUBTYPE_REVOKE_KEY
@ PGPSUBTYPE_REVOKE_KEY
Definition rpmpgp.h:182
PGPSUBTYPE_INTERNAL_101
@ PGPSUBTYPE_INTERNAL_101
Definition rpmpgp.h:199
PGPSUBTYPE_PREFER_HASH
@ PGPSUBTYPE_PREFER_HASH
Definition rpmpgp.h:185
PGPSUBTYPE_NONE
@ PGPSUBTYPE_NONE
Definition rpmpgp.h:172
PGPSUBTYPE_SIG_CREATE_TIME
@ PGPSUBTYPE_SIG_CREATE_TIME
Definition rpmpgp.h:173
PGPSUBTYPE_REVOKE_REASON
@ PGPSUBTYPE_REVOKE_REASON
Definition rpmpgp.h:193
PGPSUBTYPE_KEYSERVER_PREFERS
@ PGPSUBTYPE_KEYSERVER_PREFERS
Definition rpmpgp.h:187
PGPSUBTYPE_CRITICAL
@ PGPSUBTYPE_CRITICAL
Definition rpmpgp.h:210
PGPSUBTYPE_INTERNAL_110
@ PGPSUBTYPE_INTERNAL_110
Definition rpmpgp.h:208
PGPSUBTYPE_INTERNAL_109
@ PGPSUBTYPE_INTERNAL_109
Definition rpmpgp.h:207
PGPSUBTYPE_INTERNAL_108
@ PGPSUBTYPE_INTERNAL_108
Definition rpmpgp.h:206
PGPSUBTYPE_INTERNAL_105
@ PGPSUBTYPE_INTERNAL_105
Definition rpmpgp.h:203
PGPSUBTYPE_INTERNAL_100
@ PGPSUBTYPE_INTERNAL_100
Definition rpmpgp.h:198
PGPSUBTYPE_PREFER_KEYSERVER
@ PGPSUBTYPE_PREFER_KEYSERVER
Definition rpmpgp.h:188
PGPSUBTYPE_INTERNAL_107
@ PGPSUBTYPE_INTERNAL_107
Definition rpmpgp.h:205
PGPSUBTYPE_REGEX
@ PGPSUBTYPE_REGEX
Definition rpmpgp.h:177
PGPSUBTYPE_PRIMARY_USERID
@ PGPSUBTYPE_PRIMARY_USERID
Definition rpmpgp.h:189
PGPSUBTYPE_INTERNAL_102
@ PGPSUBTYPE_INTERNAL_102
Definition rpmpgp.h:200
PGPSUBTYPE_INTERNAL_103
@ PGPSUBTYPE_INTERNAL_103
Definition rpmpgp.h:201
PGPSUBTYPE_INTERNAL_106
@ PGPSUBTYPE_INTERNAL_106
Definition rpmpgp.h:204
PGPSUBTYPE_KEY_FLAGS
@ PGPSUBTYPE_KEY_FLAGS
Definition rpmpgp.h:191
rpmRC
enum rpmRC_e rpmRC
rpmstring.h
rpmtypes.h