1 #ifndef CondCore_CondDB_DecodingKey_h 2 #define CondCore_CondDB_DecodingKey_h 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)
static const std::string serviceName
std::string connectionString
size_t createFromInputFile(const std::string &inputFileName, size_t generatedKeySize=0)
static std::string templateFile()
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)
const std::string & principalName() const
std::string make(size_t keySize)
std::string m_principalKey
const std::string & version() const
const std::string & ownerName() const
static constexpr const char *const FILE_NAME
const std::map< std::string, ServiceCredentials > & services() const
void list(std::ostream &out)
static constexpr const char *const FILE_PATH
const std::string & principalKey() const
std::map< std::string, ServiceCredentials > m_services