Home
last modified time | relevance | path

Searched refs:Base64Encode (Results 1 – 23 of 23) sorted by relevance

/external/libweave/src/
Ddata_encoding.h43 std::string Base64Encode(const void* data, size_t size);
54 inline std::string Base64Encode(const std::vector<uint8_t>& input) { in Base64Encode() function
55 return Base64Encode(input.data(), input.size()); in Base64Encode()
60 inline std::string Base64Encode(const std::string& input) { in Base64Encode() function
61 return Base64Encode(input.data(), input.size()); in Base64Encode()
Ddata_encoding_unittest.cc42 TEST(data_encoding, Base64Encode) { in TEST() argument
65 EXPECT_EQ(encoded1, Base64Encode(text1)); in TEST()
66 EXPECT_EQ(encoded2, Base64Encode(text2)); in TEST()
67 EXPECT_EQ(encoded3, Base64Encode(data3)); in TEST()
Daccess_black_list_manager_impl.cc69 entry->SetString(kUser, Base64Encode(e.first.first)); in Save()
70 entry->SetString(kApp, Base64Encode(e.first.second)); in Save()
Daccess_api_handler.cc196 entry->SetString(kUserId, Base64Encode(e.user_id)); in List()
197 entry->SetString(kApplicationId, Base64Encode(e.app_id)); in List()
Ddata_encoding.cc109 std::string Base64Encode(const void* data, size_t size) { in Base64Encode() function
Dconfig_unittest.cc183 EXPECT_EQ("c3RhdGVfc2VjcmV0", Base64Encode(GetSettings().secret)); in TEST_F()
Dconfig.cc267 dict.SetString(config_keys::kSecret, Base64Encode(settings_.secret)); in Save()
Ddevice_registration_info.cc943 std::string token_base64 = Base64Encode(token); in SendAuthInfo()
945 Base64Encode(auth_manager_->GetCertificateFingerprint()); in SendAuthInfo()
/external/libbrillo/brillo/
Ddata_encoding.h48 BRILLO_EXPORT std::string Base64Encode(const void* data, size_t size);
59 inline std::string Base64Encode(const brillo::Blob& input) { in Base64Encode() function
60 return Base64Encode(input.data(), input.size()); in Base64Encode()
65 inline std::string Base64Encode(const std::string& input) { in Base64Encode() function
66 return Base64Encode(input.data(), input.size()); in Base64Encode()
Ddata_encoding_unittest.cc42 TEST(data_encoding, Base64Encode) { in TEST() argument
65 EXPECT_EQ(encoded1, Base64Encode(text1)); in TEST()
66 EXPECT_EQ(encoded2, Base64Encode(text2)); in TEST()
67 EXPECT_EQ(encoded3, Base64Encode(data3)); in TEST()
Ddata_encoding.cc113 std::string Base64Encode(const void* data, size_t size) { in Base64Encode() function
/external/libweave/src/privet/
Dauth_manager_unittest.cc74 Base64Encode(auth_.CreateAccessToken( in TEST_F()
77 Base64Encode(auth_.CreateAccessToken( in TEST_F()
80 Base64Encode(auth_.CreateAccessToken( in TEST_F()
85 Base64Encode(auth_.CreateAccessToken( in TEST_F()
194 Base64Encode( in TEST_F()
201 Base64Encode(auth_.GetRootClientAuthToken(RootClientTokenOwner::kCloud))); in TEST_F()
208 Base64Encode( in TEST_F()
216 Base64Encode(auth.GetRootClientAuthToken(RootClientTokenOwner::kClient))); in TEST_F()
258 Base64Encode(extended)); in TEST_F()
Dsecurity_manager.cc179 *access_token = Base64Encode(access_token_decoded); in CreateAccessToken()
221 return Base64Encode(auth_manager_->ClaimRootClientAuthToken( in ClaimRootClientAuthToken()
315 *device_commitment = Base64Encode(commitment); in StartPairing()
360 *fingerprint = Base64Encode(certificate_fingerprint); in ConfirmPairing()
363 *signature = Base64Encode(cert_hmac); in ConfirmPairing()
Dsecurity_manager_unittest.cc102 std::string client_commitment_base64{Base64Encode(spake.GetNextMessage())}; in PairAndAuthenticate()
119 std::string auth_code_base64{Base64Encode(auth_code)}; in PairAndAuthenticate()
224 std::string client_commitment = Base64Encode(spake.GetNextMessage()); in TEST_F()
/external/libchrome/base/
Dbase64_unittest.cc19 Base64Encode(kText, &encoded); in TEST()
32 Base64Encode(text, &text); in TEST()
Dbase64.h16 BASE_EXPORT void Base64Encode(const StringPiece& input, std::string* output);
Dbase64.cc13 void Base64Encode(const StringPiece& input, std::string* output) { in Base64Encode() function
Dbase64url.cc28 Base64Encode(input, output); in Base64UrlEncode()
/external/curl/lib/
Dmk-ca-bundle.vbs142 Base64Encode(myData) & vbLf & _
239 Function Base64Encode(inData)
279 Base64Encode = sOut
/external/webrtc/webrtc/libjingle/xmpp/
Dsaslmechanism.h50 static std::string Base64Encode(const std::string & plain);
Dsaslmechanism.cc39 SaslMechanism::Base64Encode(const std::string & plain) { in Base64Encode() function in buzz::SaslMechanism
Dsaslcookiemechanism.h56 el->AddText(Base64Encode(credential)); in StartSaslAuth()
/external/libweave/src/notification/
Dxmpp_channel.cc46 Base64Encode(credentials) + "</auth>"; in BuildXmppAuthenticateCommand()