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 <string.h>
#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
 
char ItemSeparator = ';'
 
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 18 of file DecodingKey.cc.

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

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

Definition at line 15 of file DecodingKey.cc.

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