libzypp  17.11.1
KeyManager.cc File Reference
#include "zypp/KeyManager.h"
#include "zypp/PublicKey.h"
#include "zypp/PathInfo.h"
#include "zypp/base/Logger.h"
#include "zypp/TmpPath.h"
#include "zypp/base/String.h"
#include <boost/thread/once.hpp>
#include <boost/interprocess/smart_ptr/scoped_ptr.hpp>
#include <gpgme.h>
#include <stdio.h>
Include dependency graph for KeyManager.cc:

Go to the source code of this file.

Classes

struct  GpgmeErr
 
class  zypp::KeyManagerCtx::Impl
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 

Macros

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::gpg"
 

Typedefs

typedef boost::interprocess::scoped_ptr< gpgme_data, boost::function< void(gpgme_data_t)> > GpgmeDataPtr
 
typedef boost::interprocess::scoped_ptr< _gpgme_key, boost::function< void(gpgme_key_t)> > GpgmeKeyPtr
 
typedef boost::interprocess::scoped_ptr< FILE, boost::function< int(FILE *)> > FILEPtr
 

Functions

std::ostream & operator<< (std::ostream &str, const GpgmeErr &obj)
 
static void initGpgme ()
 

Variables

boost::once_flag gpgme_init_once = BOOST_ONCE_INIT
 

Macro Definition Documentation

◆ ZYPP_BASE_LOGGER_LOGGROUP

#define ZYPP_BASE_LOGGER_LOGGROUP   "zypp::gpg"

Definition at line 23 of file KeyManager.cc.

Typedef Documentation

◆ GpgmeDataPtr

typedef boost::interprocess::scoped_ptr<gpgme_data, boost::function<void (gpgme_data_t)> > GpgmeDataPtr

Definition at line 33 of file KeyManager.cc.

◆ GpgmeKeyPtr

typedef boost::interprocess::scoped_ptr<_gpgme_key, boost::function<void (gpgme_key_t)> > GpgmeKeyPtr

Definition at line 34 of file KeyManager.cc.

◆ FILEPtr

typedef boost::interprocess::scoped_ptr<FILE, boost::function<int (FILE *)> > FILEPtr

Definition at line 35 of file KeyManager.cc.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  str,
const GpgmeErr obj 
)

Definition at line 46 of file KeyManager.cc.

◆ initGpgme()

static void initGpgme ( )
static

Definition at line 49 of file KeyManager.cc.

Variable Documentation

◆ gpgme_init_once

boost::once_flag gpgme_init_once = BOOST_ONCE_INIT

Definition at line 29 of file KeyManager.cc.