1 #ifndef CondCore_CondDB_DecodingKey_h
2 #define CondCore_CondDB_DecodingKey_h
66 const std::map< std::string, ServiceCredentials >&
services()
const;
108 return m_principalName;
114 return m_principalKey;
120 return !m_owner.empty();
130 const std::map< std::string, cond::auth::ServiceCredentials >&
133 #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
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...
std::map< std::string, ServiceCredentials > m_services
const std::string & principalName() const
void addDefaultService(const std::string &connectionString)
std::string m_principalName
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