Home
last modified time | relevance | path

Searched refs:user_key (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/sync/util/
Dnigori.cc109 bool Nigori::InitByImport(const std::string& user_key, in InitByImport() argument
112 user_key_.reset(SymmetricKey::Import(SymmetricKey::AES, user_key)); in InitByImport()
248 bool Nigori::ExportKeys(std::string* user_key, in ExportKeys() argument
251 DCHECK(user_key); in ExportKeys()
255 return user_key_->GetRawKey(user_key) && in ExportKeys()
Dnigori.h41 bool InitByImport(const std::string& user_key,
60 bool ExportKeys(std::string* user_key,
Dnigori_unittest.cc143 std::string user_key; in TEST() local
146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key)); in TEST()
Dcryptographer_unittest.cc164 std::string user_key, encryption_key, mac_key; in TEST() local
165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
167 EXPECT_EQ(expected_user, user_key); in TEST()
Dcryptographer.cc235 if (!nigori->InitByImport(key.user_key(), key.encryption_key(), in UnpackBootstrapToken()
252 if (!new_nigori->InitByImport(key.user_key(), in InstallKeys()
/external/chromium/chrome/browser/sync/protocol/
Dnigori_specifics.proto22 optional bytes user_key = 2; field
/external/openssh/
Dssh-keygen.0357 $ ssh-keygen -s /path/to/ca_key -I key_id /path/to/user_key.pub
359 The resultant certificate will be placed in /path/to/user_key-cert.pub.
380 $ ssh-keygen -s ca_key -I key_id -n user1,user2 user_key.pub
381 $ ssh-keygen -s ca_key -I key_id -h -n host.domain user_key.pub