|
rpm
5.4.10
|

Go to the source code of this file.
Typedefs | |
| typedef struct rpmns_s * | rpmns |
| typedef enum nsType_e | nsType |
| Dependency types. | |
Functions | |
| nsType | rpmnsArch (const char *str) |
| Is string a known arch suffix? | |
| nsType | rpmnsProbe (const char *s, size_t slen) |
| Is string a known probe namespace? | |
| nsType | rpmnsClassify (const char *s, size_t slen) |
| Classify a string as a dependency type. | |
| int | rpmnsParse (const char *str, rpmns ns) |
| Expand and split NS(N).A string into namespace, name and arch components. | |
| void | rpmnsClean (void) |
| Clean global name space dependency sets. | |
| rpmRC | rpmnsProbeSignature (void *_ts, const char *fn, const char *sigfn, const char *pubfn, const char *pubid, int flags) |
| Verify OpenPGP signature on a file. | |
Variables | |
| int | _rpmns_debug |
| const char * | _rpmns_N_at_A |
| enum nsType_e |
Dependency types.
| void rpmnsClean | ( | void | ) |
Clean global name space dependency sets.
Definition at line 856 of file depends.c.
References _free(), _sysinfo_path, and rpmdsFree().
Referenced by rpmcliFini().
| rpmRC rpmnsProbeSignature | ( | void * | _ts, |
| const char * | fn, | ||
| const char * | sigfn, | ||
| const char * | pubfn, | ||
| const char * | pubid, | ||
| int | flags | ||
| ) |
Verify OpenPGP signature on a file.
| _ts | transaction set |
| fn | plaintext (or clearsign) file |
| sigfn | binary/pem encoded signature file (NULL iff clearsign) |
| pubfn | binary/pem encoded pubkey file (NULL uses rpmdb keyring) |
| pubid | pubkey fingerprint hex string (NULL disables check) |
| flags | (unused) |
Definition at line 323 of file rpmns.c.
References _free(), alloca(), nibble(), PGPARMOR_PUBKEY, PGPARMOR_SIGNATURE, pgpFindPubkey(), pgpGetPubkey(), pgpGetSignature(), pgpGrab(), pgpGrabPkts(), pgpImplSetDSA(), pgpImplSetRSA(), pgpImplVerify(), pgpPktLen(), PGPPUBKEYALGO_DSA, PGPPUBKEYALGO_RSA, pgpPubkeyFingerprint(), pgpReadPkts(), RPMDIGEST_NONE, rpmDigestInit(), rpmDigestUpdate(), rpmExpand(), rpmiobFree(), rpmiobSlurp(), RPMRC_FAIL, RPMRC_NOKEY, RPMRC_NOTFOUND, RPMRC_NOTTRUSTED, RPMRC_OK, rpmtsCleanDig(), and rpmtsDig().
Referenced by unsatisfiedDepend().
| const char* _rpmns_N_at_A |
Definition at line 43 of file rpmns.c.
Referenced by rpmdsNewDNEVR().
1.8.1.2