5 #ifndef CVMFS_GATEWAY_UTIL_H_
6 #define CVMFS_GATEWAY_UTIL_H_
18 std::string
id()
const {
return id_; }
30 bool ReadKeys(
const std::string& key_file_name, std::string* key_id,
33 bool ParseKey(
const std::string& body, std::string* key_id,
38 #endif // CVMFS_GATEWAY_UTIL_H_
bool ParseKey(const std::string &body, std::string *key_id, std::string *secret)
std::string secret() const
GatewayKey(const std::string &i, const std::string &s)
bool ReadKeys(const std::string &key_file_name, std::string *key_id, std::string *secret)
GatewayKey ReadGatewayKey(const std::string &key_file_name)