CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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=")
 
static const std::string VERSIONPREFIX ("V=")
 

Variables

static const char * b64str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
 
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
static const std::string VERSIONPREFIX ( )
static

Variable Documentation

const char* b64str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
static

Definition at line 18 of file DecodingKey.cc.

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

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

Definition at line 15 of file DecodingKey.cc.

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