Android-cuttlefish cvd tool
Functions | Variables
cuttlefish::anonymous_namespace{credential_source.cc} Namespace Reference

Functions

std::string CollectSslErrors ()
 
Result< std::string > Base64Url (const char *data, size_t size)
 
Result< std::string > JsonToBase64Url (const Json::Value &json)
 
Result< std::string > CreateJwt (const std::string &email, const std::string &scope, EVP_PKEY *private_key)
 

Variables

constexpr auto kRefreshWindow = std::chrono::minutes(2)
 

Function Documentation

◆ Base64Url()

Result< std::string > cuttlefish::anonymous_namespace{credential_source.cc}::Base64Url ( const char *  data,
size_t  size 
)

◆ CollectSslErrors()

std::string cuttlefish::anonymous_namespace{credential_source.cc}::CollectSslErrors ( )

◆ CreateJwt()

Result< std::string > cuttlefish::anonymous_namespace{credential_source.cc}::CreateJwt ( const std::string &  email,
const std::string &  scope,
EVP_PKEY *  private_key 
)

◆ JsonToBase64Url()

Result< std::string > cuttlefish::anonymous_namespace{credential_source.cc}::JsonToBase64Url ( const Json::Value &  json)

Variable Documentation

◆ kRefreshWindow

constexpr auto cuttlefish::anonymous_namespace{credential_source.cc}::kRefreshWindow = std::chrono::minutes(2)
constexpr