CMS 3D CMS Logo

Namespaces | Functions | Variables
DecodingKey.cc File Reference
#include "CondCore/CondDB/interface/DecodingKey.h"
#include "CondCore/CondDB/interface/FileUtils.h"
#include "CondCore/CondDB/interface/Exception.h"
#include "CondCore/CondDB/interface/Cipher.h"
#include <sstream>
#include <cstring>
#include <fstream>
#include <vector>
#include <pwd.h>
#include <ctime>
#include <unistd.h>

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 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
 
constexpr char ItemSeparator = ';'
 
constexpr char LineSeparator = '!'
 

Function Documentation

◆ CONNECTIONPREFIX()

static const std::string CONNECTIONPREFIX ( )
static

◆ DATEPREFIX()

static const std::string DATEPREFIX ( )
static

◆ DEFAULT_SERVICE()

static const std::string DEFAULT_SERVICE ( "Cond_Default_Service"  )
static

◆ KEY_HEADER()

static const std::string KEY_HEADER ( "Cond_Authentication_Key"  )
static

◆ KEYPREFIX()

static const std::string KEYPREFIX ( )
static

◆ NAMEPREFIX()

static const std::string NAMEPREFIX ( )
static

◆ OWNERPREFIX()

static const std::string OWNERPREFIX ( )
static

◆ PASSWORDPREFIX()

static const std::string PASSWORDPREFIX ( )
static

◆ SERVICEPREFIX()

static const std::string SERVICEPREFIX ( )
static

◆ USERPREFIX()

static const std::string USERPREFIX ( )
static

Variable Documentation

◆ b64str

const char* b64str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
static

Definition at line 18 of file DecodingKey.cc.

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

◆ ItemSeparator

constexpr char ItemSeparator = ';'
constexpr

◆ LineSeparator

constexpr char LineSeparator = '!'
constexpr

Definition at line 15 of file DecodingKey.cc.

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