1 #ifndef CondCore_CondDB_DecodingKey_h
2 #define CondCore_CondDB_DecodingKey_h
34 static constexpr
const char*
const FILE_NAME =
"db.key";
35 static constexpr
const char*
const FILE_PATH =
".cms_cond/db.key";
63 const std::map<std::string, ServiceCredentials>&
services()
const;
120 #endif // CondCore_CondDB_DecodingKey_h
size_t init(const std::string &keyFileName, const std::string &password, bool readMode=true)
void addService(const std::string &serviceName, const std::string &connectionString, const std::string &userName, const std::string &password)
const std::map< std::string, ServiceCredentials > & services() const
const std::string & version() const
static const std::string serviceName
const std::string & ownerName() const
std::string connectionString
size_t createFromInputFile(const std::string &inputFileName, size_t generatedKeySize=0)
static std::string templateFile()
tuple maxSize
'/store/data/Commissioning08/BeamHalo/RECO/StuffAlmostToP5_v1/000/061/642/10A0FE34-A67D-DD11-AD05-000...
const std::string & principalName() const
void addDefaultService(const std::string &connectionString)
std::string m_principalName
static constexpr const char *const KEY_FMT_VERSION
static constexpr size_t DEFAULT_KEY_SIZE
std::string makeWithRandomSize(size_t maxSize)
std::string make(size_t keySize)
std::string m_principalKey
static constexpr const char *const FILE_NAME
void list(std::ostream &out)
static constexpr const char *const FILE_PATH
const std::string & principalKey() const
std::map< std::string, ServiceCredentials > m_services