- Main Page
- Related Pages
- Modules
- Data Structures
- Files

# rpmkeyring.h

Go to the documentation of this file.

    00001 #ifndef _RPMKEYRING_H
    00002 #define _RPMKEYRING_H
    00003
    00008 #include <rpm/rpmtypes.h>
    00009 #include <rpm/rpmpgp.h>
    00010
    00015 rpmKeyring rpmKeyringNew(void);
    00016
    00021 rpmKeyring rpmKeyringFree(rpmKeyring keyring);
    00022
    00029 int rpmKeyringAddKey(rpmKeyring keyring, rpmPubkey key);
    00030
    00037 rpmRC rpmKeyringLookup(rpmKeyring keyring, pgpDig sig);
    00038
    00044 rpmKeyring rpmKeyringLink(rpmKeyring keyring);
    00045
    00051 rpmKeyring rpmKeyringUnlink(rpmKeyring keyring);
    00052
    00059 rpmPubkey rpmPubkeyNew(const uint8_t *pkt, size_t pktlen);
    00060
    00066 rpmPubkey rpmPubkeyRead(const char *filename);
    00067
    00073 rpmPubkey rpmPubkeyFree(rpmPubkey key);
    00074
    00080 rpmPubkey rpmPubkeyLink(rpmPubkey key);
    00081
    00087 rpmPubkey rpmPubkeyUnlink(rpmPubkey key);
    00088
    00094 pgpDig rpmPubkeyDig(rpmPubkey key);
    00095
    00101 char * rpmPubkeyBase64(rpmPubkey key);
    00102
    00103 #endif /* _RPMKEYDB_H */