/external/chromium_org/chromeos/network/ |
D | client_cert_resolver_unittest.cc | 105 const std::string pkcs11_id = in StartCertLoader() local 107 test_cert_id_ = base::StringPrintf("%i:%s", slot_id, pkcs11_id.c_str()); in StartCertLoader() 227 void GetClientCertProperties(std::string* pkcs11_id) { in GetClientCertProperties() argument 228 pkcs11_id->clear(); in GetClientCertProperties() 234 pkcs11_id); in GetClientCertProperties() 280 std::string pkcs11_id; in TEST_F() local 281 GetClientCertProperties(&pkcs11_id); in TEST_F() 282 EXPECT_EQ(std::string(), pkcs11_id); in TEST_F() 297 std::string pkcs11_id; in TEST_F() local 298 GetClientCertProperties(&pkcs11_id); in TEST_F() [all …]
|
D | client_cert_util.cc | 127 std::string* pkcs11_id) { in GetClientCertFromShillProperties() argument 130 pkcs11_id->clear(); in GetClientCertFromShillProperties() 141 shill::kOpenVPNClientCertIdProperty, pkcs11_id)) { in GetClientCertFromShillProperties() 147 shill::kL2tpIpsecClientCertIdProperty, pkcs11_id)) { in GetClientCertFromShillProperties() 177 *pkcs11_id = GetPkcs11AndSlotIdFromEapCertId(cert_id, tpm_slot); in GetClientCertFromShillProperties() 184 const std::string& pkcs11_id, in SetShillProperties() argument 194 shill::kOpenVPNClientCertIdProperty, pkcs11_id); in SetShillProperties() 203 shill::kL2tpIpsecClientCertIdProperty, pkcs11_id); in SetShillProperties() 210 base::StringPrintf("%i:%s", tpm_slot, pkcs11_id.c_str()); in SetShillProperties()
|
D | client_cert_resolver.cc | 41 pkcs11_id(cert_id), in NetworkAndMatchingCert() 48 std::string pkcs11_id; member 186 std::string pkcs11_id; in FindCertificateMatches() local 194 pkcs11_id = in FindCertificateMatches() 196 if (pkcs11_id.empty()) { in FindCertificateMatches() 204 it->service_path, it->cert_config.location, pkcs11_id, slot_id)); in FindCertificateMatches() 287 std::string pkcs11_id = in ResolveCertificatePatternSync() local 289 if (pkcs11_id.empty()) { in ResolveCertificatePatternSync() 296 client_cert_type, slot_id, pkcs11_id, shill_properties); in ResolveCertificatePatternSync() 433 if (it->pkcs11_id.empty()) { in ConfigureCertificates() [all …]
|
D | network_cert_migrator_unittest.cc | 193 const std::string& pkcs11_id) { in SetupVpnWithCertId() argument 200 shill::kOpenVPNClientCertIdProperty, pkcs11_id); in SetupVpnWithCertId() 207 shill::kL2tpIpsecClientCertIdProperty, pkcs11_id); in SetupVpnWithCertId() 215 std::string* pkcs11_id) { in GetVpnCertId() argument 217 pkcs11_id->clear(); in GetVpnCertId() 229 shill::kOpenVPNClientCertIdProperty, pkcs11_id); in GetVpnCertId() 234 shill::kL2tpIpsecClientCertIdProperty, pkcs11_id); in GetVpnCertId() 466 std::string pkcs11_id; in TEST_F() local 468 GetVpnCertId(true /* OpenVPN */, &unused_slot_id, &pkcs11_id); in TEST_F() 469 EXPECT_EQ(kPkcs11Id, pkcs11_id); in TEST_F() [all …]
|
D | network_cert_migrator.cc | 115 std::string pkcs11_id; in MigrateClientCertProperties() local 119 properties, &config_type, &configured_slot_id, &pkcs11_id); in MigrateClientCertProperties() 121 pkcs11_id.empty()) { in MigrateClientCertProperties() 131 FindCertificateWithPkcs11Id(pkcs11_id, &real_slot_id); in MigrateClientCertProperties() 148 config_type, real_slot_id, pkcs11_id, new_properties); in MigrateClientCertProperties() 238 const std::string& pkcs11_id, int* slot_id) { in FindCertificateWithPkcs11Id() argument 245 if (current_pkcs11_id == pkcs11_id) { in FindCertificateWithPkcs11Id()
|
D | client_cert_util.h | 77 std::string* pkcs11_id); 83 const std::string& pkcs11_id,
|
/external/chromium_org/chromeos/ |
D | cert_loader.cc | 133 std::string pkcs11_id; in GetPkcs11IdAndSlotForCert() local 135 pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); in GetPkcs11IdAndSlotForCert() 140 return pkcs11_id; in GetPkcs11IdAndSlotForCert()
|
/external/chromium_org/chrome/browser/chromeos/options/ |
D | cert_library.h | 82 int GetUserCertIndexByPkcs11Id(const std::string& pkcs11_id) const;
|
D | cert_library.cc | 191 const std::string& pkcs11_id) const { in GetUserCertIndexByPkcs11Id() 197 if (id == pkcs11_id) in GetUserCertIndexByPkcs11Id()
|
D | wifi_config_view.cc | 848 const std::string pkcs11_id = in SetEapClientCertProperties() local 851 client_cert::CONFIG_TYPE_EAP, slot_id, pkcs11_id, properties); in SetEapClientCertProperties() 1297 std::string pkcs11_id = client_cert::GetPkcs11AndSlotIdFromEapCertId( in InitFromProperties() local 1299 if (!pkcs11_id.empty()) { in InitFromProperties() 1301 CertLibrary::Get()->GetUserCertIndexByPkcs11Id(pkcs11_id); in InitFromProperties()
|
D | vpn_config_view.cc | 463 const std::string pkcs11_id = in SetUserCertProperties() local 466 client_cert_type, slot_id, pkcs11_id, properties); in SetUserCertProperties()
|