CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
DecodingKey.cc File Reference
#include "CondCore/DBCommon/interface/DecodingKey.h"
#include "CondCore/DBCommon/interface/FileUtils.h"
#include "CondCore/DBCommon/interface/Exception.h"
#include "CondCore/DBCommon/interface/Cipher.h"
#include <sstream>
#include <string.h>
#include <fstream>
#include <vector>
#include <pwd.h>
#include <ctime>

Go to the source code of this file.

Namespaces

 cond
 

Functions

static const std::string CONNECTIONPREFIX ("C=")
 
static const std::string DATEPREFIX ("D=")
 
static const std::string DEFAULT_SERVICE ("Cond_Default_Service")
 
std::string cond::getLoginName ()
 
static const std::string KEY_HEADER ("Cond_Authentication_Key")
 
static const std::string KEYPREFIX ("K=")
 
static const std::string NAMEPREFIX ("N=")
 
static const std::string OWNERPREFIX ("O=")
 
void cond::parseLineForNamedParams (const std::string &line, std::map< std::string, std::string > &params)
 
static const std::string PASSWORDPREFIX ("P=")
 
char cond::randomChar ()
 
static const std::string SERVICEPREFIX ("S=")
 
static const std::string USERPREFIX ("U=")
 

Variables

static const char * b64str
 
constexpr char ItemSeparator = ';'
 
constexpr char LineSeparator = '!'
 

Function Documentation

static const std::string CONNECTIONPREFIX ( )
static
static const std::string DATEPREFIX ( )
static
static const std::string DEFAULT_SERVICE ( "Cond_Default_Service"  )
static
static const std::string KEY_HEADER ( "Cond_Authentication_Key"  )
static
static const std::string KEYPREFIX ( )
static
static const std::string NAMEPREFIX ( )
static
static const std::string OWNERPREFIX ( )
static
static const std::string PASSWORDPREFIX ( )
static
static const std::string SERVICEPREFIX ( )
static
static const std::string USERPREFIX ( )
static

Variable Documentation

const char* b64str
static
Initial value:
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"

Definition at line 17 of file DecodingKey.cc.

Referenced by base64_encode(), and cond::randomChar().

constexpr char ItemSeparator = ';'
constexpr char LineSeparator = '!'

Definition at line 14 of file DecodingKey.cc.

Referenced by cond::DecodingKey::flush(), and cond::DecodingKey::init().