/system/tpm/attestation/server/ |
D | mock_key_store.h | 35 bool(const std::string& username, 39 bool(const std::string& username, 43 bool(const std::string& username, const std::string& name)); 45 bool(const std::string& username, 48 bool(const std::string& username, 56 bool(const std::string& username,
|
D | key_store.h | 36 virtual bool Read(const std::string& username, 43 virtual bool Write(const std::string& username, 49 virtual bool Delete(const std::string& username, 54 virtual bool DeleteByPrefix(const std::string& username, 63 virtual bool Register(const std::string& username, 73 virtual bool RegisterCertificate(const std::string& username,
|
D | pkcs11_key_store.h | 51 bool Read(const std::string& username, 54 bool Write(const std::string& username, 57 bool Delete(const std::string& username, 59 bool DeleteByPrefix(const std::string& username, 61 bool Register(const std::string& username, 68 bool RegisterCertificate(const std::string& username, 83 bool GetUserSlot(const std::string& username, CK_SLOT_ID_PTR slot);
|
D | attestation_service.cc | 125 if (!CreateKey(request.username(), request.key_label(), request.key_type(), in CreateGoogleAttestedKeyTask() 132 if (!CreateCertificateRequest(request.username(), key, in CreateGoogleAttestedKeyTask() 146 if (!FinishCertificateRequest(certificate_reply, request.username(), in CreateGoogleAttestedKeyTask() 175 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in GetKeyInfoTask() 356 if (!CreateKey(request.username(), request.key_label(), request.key_type(), in CreateCertifiableKeyTask() 388 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in DecryptTask() 414 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in SignTask() 443 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in RegisterKeyWithChapsTokenTask() 447 if (!key_store_->Register(request.username(), request.key_label(), in RegisterKeyWithChapsTokenTask() 454 !key_store_->RegisterCertificate(request.username(), in RegisterKeyWithChapsTokenTask() [all …]
|
D | pkcs11_key_store.cc | 94 bool Pkcs11KeyStore::Read(const std::string& username, in Read() argument 98 if (!GetUserSlot(username, &slot)) { in Read() 130 bool Pkcs11KeyStore::Write(const std::string& username, in Write() argument 134 if (!Delete(username, key_name)) { in Write() 138 if (!GetUserSlot(username, &slot)) { in Write() 172 bool Pkcs11KeyStore::Delete(const std::string& username, in Delete() argument 175 if (!GetUserSlot(username, &slot)) { in Delete() 194 bool Pkcs11KeyStore::DeleteByPrefix(const std::string& username, in DeleteByPrefix() argument 197 if (!GetUserSlot(username, &slot)) { in DeleteByPrefix() 216 bool Pkcs11KeyStore::Register(const std::string& username, in Register() argument [all …]
|
D | attestation_service.h | 192 bool CreateCertificateRequest(const std::string& username, 205 const std::string& username, 220 bool CreateKey(const std::string& username, 228 bool FindKeyByLabel(const std::string& username, 234 bool SaveKey(const std::string& username, 239 void DeleteKey(const std::string& username, const std::string& key_label);
|
D | dbus_service_test.cc | 93 EXPECT_EQ("username", request.username()); in TEST_F() 144 EXPECT_EQ("username", request.username()); in TEST_F() 278 EXPECT_EQ("user", request.username()); in TEST_F() 310 EXPECT_EQ("user", request.username()); in TEST_F() 337 EXPECT_EQ("user", request.username()); in TEST_F() 365 EXPECT_EQ("user", request.username()); in TEST_F()
|
/system/tpm/attestation/client/ |
D | main.cc | 275 const std::string& username) { in CallCreateGoogleAttestedKey() argument 281 request.set_username(username); in CallCreateGoogleAttestedKey() 288 void CallGetKeyInfo(const std::string& label, const std::string& username) { in CallGetKeyInfo() argument 291 request.set_username(username); in CallGetKeyInfo() 368 const std::string& username, in CallCreateCertifiableKey() argument 372 request.set_username(username); in CallCreateCertifiableKey() 382 const std::string& username, in Encrypt() argument 386 request.set_username(username); in Encrypt() 403 const std::string& username, in CallDecrypt() argument 407 request.set_username(username); in CallDecrypt() [all …]
|
D | dbus_proxy_test.cc | 60 EXPECT_EQ("user", request_proto.username()); in TEST_F() 103 EXPECT_EQ("username", request_proto.username()); in TEST_F() 271 EXPECT_EQ("user", request_proto.username()); in TEST_F() 313 EXPECT_EQ("user", request_proto.username()); in TEST_F() 351 EXPECT_EQ("user", request_proto.username()); in TEST_F() 389 EXPECT_EQ("user", request_proto.username()); in TEST_F()
|
/system/tpm/attestation/common/ |
D | interface.proto | 44 optional string username = 5; field 64 optional string username = 2; field 129 optional string username = 2; field 146 optional string username = 2; field 157 optional string username = 2; field 168 optional string username = 2; field
|
D | print_interface_proto.cc | 103 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent() 164 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent() 463 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent() 547 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent() 608 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent() 669 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
|
/system/core/adb/ |
D | adb_auth_host.cpp | 66 std::string username; in get_user_info() local 67 if (getenv("LOGNAME")) username = getenv("LOGNAME"); in get_user_info() 69 if (username.empty() && getlogin()) username = getlogin(); in get_user_info() 71 if (username.empty()) hostname = "unknown"; in get_user_info() 73 return " " + username + "@" + hostname; in get_user_info()
|
/system/core/init/ |
D | README.md | 191 `user <username>` 192 > Change to 'username' before exec'ing this service.
|