public_key 79 chrome/app/signature_validator_win_unittest.cc uint8* public_key = blob.pbData; public_key 83 chrome/app/signature_validator_win_unittest.cc base::StringPiece key_bytes(reinterpret_cast<char*>(public_key), public_key 42 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc !owner_key->public_key()) { public_key 143 chrome/browser/chromeos/policy/device_local_account_policy_store.cc if (!key.get() || !key->public_key() || !device_policy_data) { public_key 77 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc std::vector<uint8> public_key; public_key 78 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(policy_.GetSigningKey()->ExportPublicKey(&public_key)); public_key 79 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc StoreUserPolicyKey(public_key); public_key 127 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc void StoreUserPolicyKey(const std::vector<uint8>& public_key) { public_key 131 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc reinterpret_cast<const char*>(public_key.data()), public_key 132 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc public_key.size())); public_key 38 chrome/browser/chromeos/settings/device_settings_service.cc OwnerKey::OwnerKey(scoped_ptr<std::vector<uint8> > public_key, public_key 40 chrome/browser/chromeos/settings/device_settings_service.cc : public_key_(public_key.Pass()), public_key 152 chrome/browser/chromeos/settings/device_settings_service.cc return owner_key_->public_key() ? OWNERSHIP_TAKEN : OWNERSHIP_NONE; public_key 165 chrome/browser/chromeos/settings/device_settings_service.cc owner_key_->public_key() ? OWNERSHIP_TAKEN : OWNERSHIP_NONE)); public_key 290 chrome/browser/chromeos/settings/device_settings_service.cc new_key->public_key() ? OWNERSHIP_TAKEN : OWNERSHIP_NONE; public_key 44 chrome/browser/chromeos/settings/device_settings_service.h OwnerKey(scoped_ptr<std::vector<uint8> > public_key, public_key 47 chrome/browser/chromeos/settings/device_settings_service.h const std::vector<uint8>* public_key() { public_key 269 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 286 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_FALSE(device_settings_service_.GetOwnerKey()->public_key()); public_key 300 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 303 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 317 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 319 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 343 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 346 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 357 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 359 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 384 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 387 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 400 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 402 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 428 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 431 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 445 chrome/browser/chromeos/settings/device_settings_service_unittest.cc ASSERT_TRUE(device_settings_service_.GetOwnerKey()->public_key()); public_key 447 chrome/browser/chromeos/settings/device_settings_service_unittest.cc EXPECT_EQ(*device_settings_service_.GetOwnerKey()->public_key(), key); public_key 71 chrome/browser/chromeos/settings/owner_key_util_unittest.cc std::vector<uint8> public_key(kTestKeyData, public_key 73 chrome/browser/chromeos/settings/owner_key_util_unittest.cc ASSERT_EQ(static_cast<int>(public_key.size()), public_key 76 chrome/browser/chromeos/settings/owner_key_util_unittest.cc reinterpret_cast<const char*>(vector_as_array(&public_key)), public_key 77 chrome/browser/chromeos/settings/owner_key_util_unittest.cc public_key.size())); public_key 83 chrome/browser/chromeos/settings/owner_key_util_unittest.cc EXPECT_EQ(public_key, from_disk); public_key 74 chrome/browser/chromeos/settings/session_manager_operation.cc if (force_key_load_ || !owner_key_.get() || !owner_key_->public_key()) { public_key 95 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<std::vector<uint8> > public_key; public_key 100 chrome/browser/chromeos/settings/session_manager_operation.cc if (current_key->public_key()) public_key 101 chrome/browser/chromeos/settings/session_manager_operation.cc public_key.reset(new std::vector<uint8>(*current_key->public_key())); public_key 106 chrome/browser/chromeos/settings/session_manager_operation.cc if (!public_key.get() && util->IsPublicKeyPresent()) { public_key 107 chrome/browser/chromeos/settings/session_manager_operation.cc public_key.reset(new std::vector<uint8>()); public_key 108 chrome/browser/chromeos/settings/session_manager_operation.cc if (!util->ImportPublicKey(public_key.get())) public_key 112 chrome/browser/chromeos/settings/session_manager_operation.cc if (public_key.get() && !private_key.get()) { public_key 113 chrome/browser/chromeos/settings/session_manager_operation.cc private_key.reset(util->FindPrivateKey(*public_key)); public_key 118 chrome/browser/chromeos/settings/session_manager_operation.cc return new OwnerKey(public_key.Pass(), private_key.Pass()); public_key 126 chrome/browser/chromeos/settings/session_manager_operation.cc if (!owner_key_.get() || !owner_key_->public_key()) { public_key 59 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc ASSERT_TRUE(op->owner_key()->public_key()); public_key 60 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc std::vector<uint8> public_key; public_key 61 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc ASSERT_TRUE(policy_.GetSigningKey()->ExportPublicKey(&public_key)); public_key 62 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(public_key, *op->owner_key()->public_key()); public_key 105 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_FALSE(op.owner_key()->public_key()); public_key 176 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_TRUE(op.owner_key()->public_key()); public_key 264 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc std::vector<uint8> public_key; public_key 265 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.GetSigningKey()->ExportPublicKey(&public_key); public_key 269 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc reinterpret_cast<const char*>(vector_as_array(&public_key)), public_key 270 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc public_key.size()); public_key 170 chrome/browser/component_updater/component_unpacker.cc sha256->Update(&(validator.public_key()[0]), validator.public_key().size()); public_key 207 chrome/browser/devtools/adb/android_rsa.cc std::vector<uint8> public_key; public_key 211 chrome/browser/devtools/adb/android_rsa.cc key->ExportPublicKey(&public_key); public_key 212 chrome/browser/devtools/adb/android_rsa.cc std::string asn1(public_key.begin(), public_key.end()); public_key 174 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc extension_value->SetString("publicKey", extension->public_key()); public_key 118 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); public_key 119 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc if (!public_key.get()) { public_key 131 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc public_key.get(), public_key 54 chrome/browser/extensions/api/networking_private/networking_private_api_chromeos.cc output.public_key = input.public_key; public_key 38 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter.h const std::string& public_key, public_key 27 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc const std::string& public_key, public_key 45 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc const std::string& public_key, public_key 60 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc std::vector<uint8> public_key_data(public_key.begin(), public_key.end()); public_key 40 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc const std::string& public_key, public_key 90 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc const std::string& public_key, public_key 94 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc std::vector<uint8> public_key_data(public_key.begin(), public_key.end()); public_key 114 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc const std::string& public_key, public_key 129 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc const std::string& public_key, public_key 138 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_win.cc public_key, public_key 37 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc data_parts.push_back(properties.public_key); public_key 63 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc std::string public_key; public_key 71 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!base::Base64Decode(params->properties.public_key, &public_key)) { public_key 83 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc credentials_getter->Start(network_guid, public_key, callback); public_key 97 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc std::string public_key; public_key 98 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!base::Base64Decode(params->properties.public_key, &public_key)) { public_key 104 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc std::vector<uint8> public_key_data(public_key.begin(), public_key.end()); public_key 61 chrome/browser/extensions/convert_user_script_unittest.cc extension->public_key()); public_key 114 chrome/browser/extensions/convert_user_script_unittest.cc extension->public_key()); public_key 180 chrome/browser/extensions/convert_user_script_unittest.cc extension->public_key()); public_key 215 chrome/browser/extensions/convert_user_script_unittest.cc extension->public_key()); public_key 251 chrome/browser/extensions/convert_user_script_unittest.cc extension->public_key()); public_key 126 chrome/browser/extensions/convert_web_app_unittest.cc extension->public_key()); public_key 171 chrome/browser/extensions/convert_web_app_unittest.cc extension->public_key()); public_key 98 chrome/browser/extensions/extension_creator.cc std::string public_key; public_key 99 chrome/browser/extensions/extension_creator.cc public_key.insert(public_key.begin(), public_key 102 chrome/browser/extensions/extension_creator.cc std::string extension_id = id_util::GenerateId(public_key); public_key 250 chrome/browser/extensions/extension_creator.cc std::vector<uint8> public_key; public_key 251 chrome/browser/extensions/extension_creator.cc CHECK(private_key->ExportPublicKey(&public_key)); public_key 255 chrome/browser/extensions/extension_creator.cc CrxFile::Create(public_key.size(), signature.size(), &error)); public_key 264 chrome/browser/extensions/extension_creator.cc if (fwrite(&public_key.front(), sizeof(uint8), public_key.size(), public_key 265 chrome/browser/extensions/extension_creator.cc crx_handle.get()) != public_key.size()) { public_key 251 chrome/browser/extensions/install_signer.cc std::string public_key; public_key 252 chrome/browser/extensions/install_signer.cc if (!Extension::ParsePEMKeyBytes(kPublicKeyPEM, &public_key)) public_key 261 chrome/browser/extensions/install_signer.cc reinterpret_cast<const uint8*>(public_key.data()), public_key 262 chrome/browser/extensions/install_signer.cc public_key.size())) public_key 574 chrome/browser/extensions/sandboxed_unpacker.cc std::string public_key = public_key 576 chrome/browser/extensions/sandboxed_unpacker.cc base::Base64Encode(public_key, &public_key_); public_key 578 chrome/browser/extensions/sandboxed_unpacker.cc extension_id_ = id_util::GenerateId(public_key); public_key 277 chrome/browser/sync/test/integration/sync_extension_helper.cc std::string public_key; public_key 280 chrome/browser/sync/test/integration/sync_extension_helper.cc Extension::FormatPEMForFileOutput(pem, &public_key, public_key 282 chrome/browser/sync/test/integration/sync_extension_helper.cc return public_key; public_key 292 chrome/browser/sync/test/integration/sync_extension_helper.cc const std::string& public_key = NameToPublicKey(name); public_key 293 chrome/browser/sync/test/integration/sync_extension_helper.cc source.SetString(extensions::manifest_keys::kPublicKey, public_key); public_key 139 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); public_key 140 chrome/common/extensions/api/networking_private/networking_private_crypto.cc if (!public_key.get()) { public_key 152 chrome/common/extensions/api/networking_private/networking_private_crypto.cc public_key.get(), public_key 176 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::ScopedSECKEYPublicKey public_key( public_key 178 chrome/common/extensions/api/networking_private/networking_private_crypto.cc if (!public_key.get()) { public_key 183 chrome/common/extensions/api/networking_private/networking_private_crypto.cc size_t encrypted_length = SECKEY_PublicKeyStrength(public_key.get()); public_key 193 chrome/common/extensions/api/networking_private/networking_private_crypto.cc public_key.get(), public_key 220 chrome/common/extensions/api/networking_private/networking_private_crypto.cc if (!private_key || !private_key->public_key()) { public_key 225 chrome/common/extensions/api/networking_private/networking_private_crypto.cc size_t encrypted_length = SECKEY_SignatureLen(private_key->public_key()); public_key 37 chrome/common/extensions/api/networking_private/networking_private_crypto.h bool EncryptByteString(const std::vector<uint8>& public_key, public_key 147 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc std::vector<uint8> public_key(public_key_string.begin(), public_key 154 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_TRUE(crypto.EncryptByteString(public_key, plain, &encrypted_output)); public_key 159 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_TRUE(crypto.EncryptByteString(public_key, plain, &encrypted_output)); public_key 163 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc public_key, std::string(500, 'x'), &encrypted_output)); public_key 502 chrome/test/chromedriver/chrome_launcher.cc std::string public_key = decoded_extension.substr(16, key_len); public_key 503 chrome/test/chromedriver/chrome_launcher.cc if (key_len != public_key.size()) public_key 506 chrome/test/chromedriver/chrome_launcher.cc base::Base64Encode(public_key, &public_key_base64); public_key 507 chrome/test/chromedriver/chrome_launcher.cc std::string id = GenerateExtensionId(public_key); public_key 984 chrome/utility/chrome_content_utility_client.cc const std::vector<uint8>& public_key) { public_key 996 chrome/utility/chrome_content_utility_client.cc success = crypto.EncryptByteString(public_key, key_data, &ciphertext); public_key 136 chrome/utility/chrome_content_utility_client.h const std::vector<uint8>& public_key); public_key 153 chromeos/dbus/shill_manager_client.cc writer.AppendString(properties.public_key); public_key 172 chromeos/dbus/shill_manager_client.cc writer.AppendString(properties.public_key); public_key 192 chromeos/dbus/shill_manager_client.cc writer.AppendString(properties.public_key); public_key 104 chromeos/dbus/shill_manager_client.h std::string public_key; public_key 339 chromeos/dbus/shill_manager_client_unittest.cc properties.public_key = arguments[1]; public_key 382 chromeos/dbus/shill_manager_client_unittest.cc properties.public_key = arguments[1]; public_key 423 chromeos/dbus/shill_manager_client_unittest.cc properties.public_key = arguments[1]; public_key 81 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc std::string public_key = std::string( public_key 95 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc validator->ValidateCachedKey(public_key, public_key 99 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc validator->ValidateSignature(public_key, public_key 812 content/child/webcrypto/jwk.cc platform::PublicKey* public_key; public_key 813 content/child/webcrypto/jwk.cc status = ToPlatformPublicKey(key, &public_key); public_key 819 content/child/webcrypto/jwk.cc platform::ExportRsaPublicKey(public_key, &modulus, &public_exponent); public_key 144 content/child/webcrypto/platform_crypto.h blink::WebCryptoKey* public_key, public_key 442 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPublicKey public_key(SECKEY_ConvertToPublicKey(key)); public_key 443 content/child/webcrypto/platform_crypto_nss.cc return CreatePublicKeyAlgorithm(algorithm, public_key.get(), key_algorithm); public_key 1221 content/child/webcrypto/platform_crypto_nss.cc blink::WebCryptoKey* public_key, public_key 1281 content/child/webcrypto/platform_crypto_nss.cc *public_key = blink::WebCryptoKey::create( public_key 308 content/child/webcrypto/platform_crypto_openssl.cc blink::WebCryptoKey* public_key, public_key 123 content/child/webcrypto/shared_crypto.cc platform::PublicKey* public_key; public_key 124 content/child/webcrypto/shared_crypto.cc Status status = ToPlatformPublicKey(key, &public_key); public_key 132 content/child/webcrypto/shared_crypto.cc return platform::EncryptRsaEsPkcs1v1_5(public_key, data, buffer); public_key 201 content/child/webcrypto/shared_crypto.cc platform::PublicKey* public_key; public_key 202 content/child/webcrypto/shared_crypto.cc Status status = ToPlatformPublicKey(key, &public_key); public_key 207 content/child/webcrypto/shared_crypto.cc public_key, public_key 592 content/child/webcrypto/shared_crypto.cc blink::WebCryptoKey* public_key, public_key 621 content/child/webcrypto/shared_crypto.cc public_key, public_key 664 content/child/webcrypto/shared_crypto.cc platform::PublicKey* public_key; public_key 665 content/child/webcrypto/shared_crypto.cc Status status = ToPlatformPublicKey(key, &public_key); public_key 668 content/child/webcrypto/shared_crypto.cc return platform::ExportKeySpki(public_key, buffer); public_key 103 content/child/webcrypto/shared_crypto.h blink::WebCryptoKey* public_key, public_key 435 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey* public_key, public_key 442 content/child/webcrypto/shared_crypto_unittest.cc public_key)); public_key 443 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_FALSE(public_key->isNull()); public_key 444 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_TRUE(public_key->handle()); public_key 445 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key->type()); public_key 446 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(algorithm.id(), public_key->algorithm().id()); public_key 448 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(usage_mask, public_key->usages()); public_key 1425 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 1432 content/child/webcrypto/shared_crypto_unittest.cc &public_key)); public_key 1437 content/child/webcrypto/shared_crypto_unittest.cc ExportKey(blink::WebCryptoKeyFormatJwk, public_key, &jwk)); public_key 1938 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 1941 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 1942 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_FALSE(public_key.isNull()); public_key 1944 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key.type()); public_key 1946 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_TRUE(public_key.extractable()); public_key 1948 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(usage_mask, public_key.usages()); public_key 1955 content/child/webcrypto/shared_crypto_unittest.cc ExportKey(blink::WebCryptoKeyFormatSpki, public_key, &public_key_spki)); public_key 1956 content/child/webcrypto/shared_crypto_unittest.cc public_key = blink::WebCryptoKey::createNull(); public_key 1963 content/child/webcrypto/shared_crypto_unittest.cc &public_key)); public_key 1965 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaParams()->modulusLengthBits()); public_key 1987 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 1997 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 2008 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 2019 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 2030 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 2031 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_FALSE(public_key.isNull()); public_key 2033 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key.type()); public_key 2035 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_TRUE(public_key.extractable()); public_key 2037 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(usage_mask, public_key.usages()); public_key 2046 content/child/webcrypto/shared_crypto_unittest.cc algorithm, extractable, usage_mask, &public_key, &private_key)); public_key 2047 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_FALSE(public_key.isNull()); public_key 2049 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key.type()); public_key 2052 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaHashedParams()->modulusLengthBits()); public_key 2056 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaHashedParams()->hash().id()); public_key 2059 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_TRUE(public_key.extractable()); public_key 2061 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(usage_mask, public_key.usages()); public_key 2071 content/child/webcrypto/shared_crypto_unittest.cc GenerateKeyPair(algorithm, false, usage_mask, &public_key, &private_key)); public_key 2072 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_FALSE(public_key.isNull()); public_key 2074 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key.type()); public_key 2077 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaHashedParams()->modulusLengthBits()); public_key 2081 content/child/webcrypto/shared_crypto_unittest.cc public_key.algorithm().rsaHashedParams()->hash().id()); public_key 2086 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_TRUE(public_key.extractable()); public_key 2088 content/child/webcrypto/shared_crypto_unittest.cc EXPECT_EQ(usage_mask, public_key.usages()); public_key 2100 content/child/webcrypto/shared_crypto_unittest.cc GenerateKeyPair(algorithm, true, usage_mask, &public_key, &private_key)); public_key 2109 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 2117 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 2139 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2173 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 2181 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 2195 content/child/webcrypto/shared_crypto_unittest.cc algorithm, public_key, CryptoData(decrypted_data), &encrypted_data)); public_key 2211 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 2219 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 2234 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2244 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2251 content/child/webcrypto/shared_crypto_unittest.cc Encrypt(algorithm, public_key, CryptoData(message_hex), &encrypted_data)); public_key 2258 content/child/webcrypto/shared_crypto_unittest.cc algorithm, public_key, CryptoData(encrypted_data), &decrypted_data)); public_key 2286 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 2293 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 2310 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2319 content/child/webcrypto/shared_crypto_unittest.cc algorithm, public_key, CryptoData(), CryptoData(data), &signature_match)); public_key 2328 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2340 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2356 content/child/webcrypto/shared_crypto_unittest.cc Sign(algorithm, public_key, CryptoData(data), &signature)); public_key 2365 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2424 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 2432 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 2458 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 2938 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 2946 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 2961 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKeyFormatRaw, public_key, key, algorithm, &wrapped_key)); public_key 3008 content/child/webcrypto/shared_crypto_unittest.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 3016 content/child/webcrypto/shared_crypto_unittest.cc &public_key, public_key 3053 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 3063 content/child/webcrypto/shared_crypto_unittest.cc public_key, public_key 94 content/child/webcrypto/webcrypto_impl.cc blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); public_key 97 content/child/webcrypto/webcrypto_impl.cc algorithm, extractable, usage_mask, &public_key, &private_key); public_key 101 content/child/webcrypto/webcrypto_impl.cc DCHECK(public_key.handle()); public_key 103 content/child/webcrypto/webcrypto_impl.cc DCHECK_EQ(algorithm.id(), public_key.algorithm().id()); public_key 105 content/child/webcrypto/webcrypto_impl.cc DCHECK_EQ(true, public_key.extractable()); public_key 107 content/child/webcrypto/webcrypto_impl.cc DCHECK_EQ(usage_mask, public_key.usages()); public_key 109 content/child/webcrypto/webcrypto_impl.cc result.completeWithKeyPair(public_key, private_key); public_key 30 crypto/curve25519.cc void ScalarBaseMult(const uint8* private_key, uint8* public_key) { public_key 31 crypto/curve25519.cc curve25519_donna(public_key, private_key, kBasePoint); public_key 42 crypto/curve25519.h CRYPTO_EXPORT void ScalarBaseMult(const uint8* private_key, uint8* public_key); public_key 88 crypto/ec_private_key.h SECKEYPublicKey** public_key); public_key 95 crypto/ec_private_key.h SECKEYPublicKey* public_key() { return public_key_; } public_key 151 crypto/ec_private_key_nss.cc SECKEYPublicKey** public_key) { public_key 155 crypto/ec_private_key_nss.cc *public_key = SECKEY_ExtractPublicKey(decoded_spki); public_key 157 crypto/ec_private_key_nss.cc if (!*public_key) { public_key 179 crypto/ec_private_key_nss.cc SECKEY_DestroyPublicKey(*public_key); public_key 180 crypto/ec_private_key_nss.cc *public_key = NULL; public_key 195 crypto/ec_private_key_nss.cc &(*public_key)->u.ec.publicValue, public_key 203 crypto/ec_private_key_nss.cc SECKEY_DestroyPublicKey(*public_key); public_key 204 crypto/ec_private_key_nss.cc *public_key = NULL; public_key 215 crypto/rsa_private_key.h SECKEYPublicKey* public_key() { return public_key_; } public_key 58 crypto/rsa_private_key_nss_unittest.cc std::vector<uint8> public_key; public_key 59 crypto/rsa_private_key_nss_unittest.cc ASSERT_TRUE(key_pair->ExportPublicKey(&public_key)); public_key 62 crypto/rsa_private_key_nss_unittest.cc crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); public_key 71 crypto/rsa_private_key_nss_unittest.cc std::vector<uint8> public_key; public_key 72 crypto/rsa_private_key_nss_unittest.cc ASSERT_TRUE(key_pair->ExportPublicKey(&public_key)); public_key 84 crypto/rsa_private_key_nss_unittest.cc EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); public_key 32 crypto/signature_verifier_nss.cc SECStatus VerifyRSAPSS_End(SECKEYPublicKey* public_key, public_key 42 crypto/signature_verifier_nss.cc unsigned int modulus_len = SECKEY_PublicKeyStrength(public_key); public_key 48 crypto/signature_verifier_nss.cc SECStatus rv = PK11_PubEncryptRaw(public_key, &enc[0], public_key 87 crypto/signature_verifier_nss.cc SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, public_key 89 crypto/signature_verifier_nss.cc if (!public_key) public_key 94 crypto/signature_verifier_nss.cc SECKEY_DestroyPublicKey(public_key); public_key 108 crypto/signature_verifier_nss.cc SECKEY_DestroyPublicKey(public_key); public_key 118 crypto/signature_verifier_nss.cc vfy_context_ = VFY_CreateContextWithAlgorithmID(public_key, &sig, public_key 121 crypto/signature_verifier_nss.cc SECKEY_DestroyPublicKey(public_key); // Done with public_key. public_key 150 crypto/signature_verifier_nss.cc SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, public_key 152 crypto/signature_verifier_nss.cc if (!public_key) public_key 155 crypto/signature_verifier_nss.cc public_key_ = public_key; public_key 205 crypto/signature_verifier_nss.cc SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki); public_key 207 crypto/signature_verifier_nss.cc return public_key; public_key 143 crypto/signature_verifier_openssl.cc ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> public_key( public_key 145 crypto/signature_verifier_openssl.cc if (!public_key.get()) public_key 150 crypto/signature_verifier_openssl.cc digest, NULL, public_key.get()); public_key 477 extensions/common/extension.cc std::string public_key; public_key 479 extensions/common/extension.cc if (!manifest->GetString(keys::kPublicKey, &public_key) || public_key 480 extensions/common/extension.cc !ParsePEMKeyBytes(public_key, &public_key_bytes)) { public_key 298 extensions/common/extension.h const std::string& public_key() const { return public_key_; } public_key 177 google_apis/cup/client_update_protocol.cc const base::StringPiece& public_key) { public_key 179 google_apis/cup/client_update_protocol.cc DCHECK(!public_key.empty()); public_key 186 google_apis/cup/client_update_protocol.cc if (!result->LoadPublicKey(public_key)) public_key 39 google_apis/cup/client_update_protocol.h int key_version, const base::StringPiece& public_key); public_key 81 google_apis/cup/client_update_protocol.h bool LoadPublicKey(const base::StringPiece& public_key); public_key 25 google_apis/cup/client_update_protocol_nss.cc bool ClientUpdateProtocol::LoadPublicKey(const base::StringPiece& public_key) { public_key 33 google_apis/cup/client_update_protocol_nss.cc reinterpret_cast<unsigned char*>(const_cast<char*>(public_key.data())); public_key 34 google_apis/cup/client_update_protocol_nss.cc spki_item.len = static_cast<unsigned int>(public_key.size()); public_key 11 google_apis/cup/client_update_protocol_openssl.cc bool ClientUpdateProtocol::LoadPublicKey(const base::StringPiece& public_key) { public_key 65 net/android/network_library.cc bool StoreKeyPair(const uint8* public_key, public_key 71 net/android/network_library.cc ToJavaByteArray(env, public_key, public_len); public_key 47 net/android/network_library.h bool StoreKeyPair(const uint8* public_key, public_key 107 net/base/keygen_handler_mac.cc SecKeyRef public_key = NULL; public_key 130 net/base/keygen_handler_mac.cc &public_key, &private_key); public_key 136 net/base/keygen_handler_mac.cc err = SecKeychainItemExport(public_key, kSecFormatBSAFE, 0, NULL, public_key 202 net/base/keygen_handler_mac.cc if (public_key) public_key 203 net/base/keygen_handler_mac.cc SecKeychainItemDelete(reinterpret_cast<SecKeychainItemRef>(public_key)); public_key 214 net/base/keygen_handler_mac.cc if (public_key) public_key 215 net/base/keygen_handler_mac.cc CFRelease(public_key); public_key 25 net/base/openssl_private_key_store_android.cc unsigned char* public_key = NULL; public_key 26 net/base/openssl_private_key_store_android.cc int public_len = i2d_PUBKEY(pkey, &public_key); public_key 41 net/base/openssl_private_key_store_android.cc static_cast<const uint8*>(public_key), public_len, public_key 46 net/base/openssl_private_key_store_android.cc OPENSSL_free(public_key); public_key 43 net/cert/cert_database_openssl.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> public_key( public_key 46 net/cert/cert_database_openssl.cc if (!OpenSSLPrivateKeyStore::HasPrivateKey(public_key.get())) public_key 474 net/cert/cert_verify_proc.cc uint8 public_key[base::kSHA1Length]; public_key 527 net/cert/cert_verify_proc.cc memcmp(j->data(), kLimits[i].public_key, base::kSHA1Length) == 0) { public_key 14 net/cert/ct_log_verifier.cc const base::StringPiece& public_key, public_key 17 net/cert/ct_log_verifier.cc if (!result->Init(public_key, description)) public_key 35 net/cert/ct_log_verifier.h const base::StringPiece& public_key, public_key 55 net/cert/ct_log_verifier.h bool Init(const base::StringPiece& public_key, public_key 71 net/cert/ct_log_verifier_nss.cc bool CTLogVerifier::Init(const base::StringPiece& public_key, public_key 78 net/cert/ct_log_verifier_nss.cc const_cast<char*>(public_key.data())); public_key 79 net/cert/ct_log_verifier_nss.cc key_data.len = public_key.size(); public_key 96 net/cert/ct_log_verifier_nss.cc key_id_ = crypto::SHA256HashString(public_key); public_key 53 net/cert/ct_log_verifier_openssl.cc bool CTLogVerifier::Init(const base::StringPiece& public_key, public_key 58 net/cert/ct_log_verifier_openssl.cc BIO_new_mem_buf(const_cast<char*>(public_key.data()), public_key.size())); public_key 66 net/cert/ct_log_verifier_openssl.cc key_id_ = crypto::SHA256HashString(public_key); public_key 87 net/cert/x509_util_nss.cc SECKEYPublicKey* public_key, public_key 94 net/cert/x509_util_nss.cc SECKEY_CreateSubjectPublicKeyInfo(public_key); public_key 262 net/cert/x509_util_nss.cc CERTCertificate* cert = CreateCertificate(key->public_key(), public_key 303 net/cert/x509_util_nss.cc CERTCertificate* cert = CreateCertificate(key->public_key(), public_key 32 net/quic/crypto/channel_id_nss.cc SECKEYPublicKey public_key; public_key 33 net/quic/crypto/channel_id_nss.cc memset(&public_key, 0, sizeof(public_key)); public_key 40 net/quic/crypto/channel_id_nss.cc public_key.keyType = ecKey; public_key 41 net/quic/crypto/channel_id_nss.cc public_key.u.ec.DEREncodedParams.type = siBuffer; public_key 42 net/quic/crypto/channel_id_nss.cc public_key.u.ec.DEREncodedParams.data = const_cast<unsigned char*>(p256_oid); public_key 43 net/quic/crypto/channel_id_nss.cc public_key.u.ec.DEREncodedParams.len = sizeof(p256_oid); public_key 48 net/quic/crypto/channel_id_nss.cc public_key.u.ec.publicValue.type = siBuffer; public_key 49 net/quic/crypto/channel_id_nss.cc public_key.u.ec.publicValue.data = key_buf; public_key 50 net/quic/crypto/channel_id_nss.cc public_key.u.ec.publicValue.len = sizeof(key_buf); public_key 79 net/quic/crypto/channel_id_nss.cc return PK11_Verify(&public_key, &signature_item, &hash_item, NULL) == public_key 64 net/quic/crypto/p256_key_exchange.h P256KeyExchange(EC_KEY* private_key, const uint8* public_key); public_key 70 net/quic/crypto/p256_key_exchange.h P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key); public_key 32 net/quic/crypto/p256_key_exchange_nss.cc const uint8* public_key) public_key 34 net/quic/crypto/p256_key_exchange_nss.cc memcpy(public_key_, public_key, sizeof(public_key_)); public_key 78 net/quic/crypto/p256_key_exchange_nss.cc SECKEYPublicKey* public_key = key_pair->public_key(); public_key 79 net/quic/crypto/p256_key_exchange_nss.cc if (public_key->keyType != ecKey || public_key 80 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.publicValue.len != kUncompressedP256PointBytes || public_key 81 net/quic/crypto/p256_key_exchange_nss.cc !public_key->u.ec.publicValue.data || public_key 82 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.publicValue.data[0] != kUncompressedECPointForm) { public_key 94 net/quic/crypto/p256_key_exchange_nss.cc if (public_key->u.ec.DEREncodedParams.len != oid_data->oid.len + 2 || public_key 95 net/quic/crypto/p256_key_exchange_nss.cc !public_key->u.ec.DEREncodedParams.data || public_key 96 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.DEREncodedParams.data[0] != SEC_ASN1_OBJECT_ID || public_key 97 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.DEREncodedParams.data[1] != oid_data->oid.len || public_key 98 net/quic/crypto/p256_key_exchange_nss.cc memcmp(public_key->u.ec.DEREncodedParams.data + 2, public_key 104 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.publicValue.data); public_key 127 net/quic/crypto/p256_key_exchange_nss.cc vector<uint8> public_key; public_key 128 net/quic/crypto/p256_key_exchange_nss.cc if (!key_pair->ExportPublicKey(&public_key)) { public_key 137 net/quic/crypto/p256_key_exchange_nss.cc public_key.size(); public_key 147 net/quic/crypto/p256_key_exchange_nss.cc memcpy(resultp, &public_key[0], public_key.size()); public_key 167 net/quic/crypto/p256_key_exchange_nss.cc DCHECK(key_pair_->public_key()); public_key 175 net/quic/crypto/p256_key_exchange_nss.cc key_pair_->public_key()->u.ec.DEREncodedParams.len; public_key 177 net/quic/crypto/p256_key_exchange_nss.cc key_pair_->public_key()->u.ec.DEREncodedParams.data; public_key 18 net/quic/crypto/p256_key_exchange_openssl.cc P256KeyExchange::P256KeyExchange(EC_KEY* private_key, const uint8* public_key) public_key 20 net/quic/crypto/p256_key_exchange_openssl.cc memcpy(public_key_, public_key, sizeof(public_key_)); public_key 40 net/quic/crypto/p256_key_exchange_openssl.cc uint8 public_key[kUncompressedP256PointBytes]; public_key 43 net/quic/crypto/p256_key_exchange_openssl.cc POINT_CONVERSION_UNCOMPRESSED, public_key, public_key 44 net/quic/crypto/p256_key_exchange_openssl.cc sizeof(public_key), NULL) != sizeof(public_key)) { public_key 49 net/quic/crypto/p256_key_exchange_openssl.cc return new P256KeyExchange(private_key.release(), public_key); public_key 43 net/quic/test_tools/crypto_test_utils_nss.cc *out_key = SerializeKey(ecdsa_keypair->public_key()); public_key 92 net/quic/test_tools/crypto_test_utils_nss.cc return SerializeKey(ecdsa_keypair->public_key()); public_key 112 net/quic/test_tools/crypto_test_utils_nss.cc static string SerializeKey(const SECKEYPublicKey* public_key) { public_key 118 net/quic/test_tools/crypto_test_utils_nss.cc const unsigned char* const data = public_key->u.ec.publicValue.data; public_key 119 net/quic/test_tools/crypto_test_utils_nss.cc const unsigned int len = public_key->u.ec.publicValue.len; public_key 759 net/socket/ssl_client_socket_nss.cc int ImportChannelIDKeys(SECKEYPublicKey** public_key, SECKEYPrivateKey** key); public_key 1894 net/socket/ssl_client_socket_nss.cc SECKEYPublicKey* public_key; public_key 1896 net/socket/ssl_client_socket_nss.cc int error = ImportChannelIDKeys(&public_key, &private_key); public_key 1900 net/socket/ssl_client_socket_nss.cc rv = SSL_RestartHandshakeAfterChannelIDReq(nss_fd_, public_key, private_key); public_key 2347 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Core::ImportChannelIDKeys(SECKEYPublicKey** public_key, public_key 2373 net/socket/ssl_client_socket_nss.cc public_key)) { public_key 54 net/ssl/openssl_client_key_store.cc public_key = CopyEVP_PKEY(pub_key); public_key 59 net/ssl/openssl_client_key_store.cc EVP_PKEY_free(public_key); public_key 64 net/ssl/openssl_client_key_store.cc public_key = CopyEVP_PKEY(other.public_key); public_key 69 net/ssl/openssl_client_key_store.cc EVP_PKEY* old_public_key = public_key; public_key 71 net/ssl/openssl_client_key_store.cc public_key = CopyEVP_PKEY(other.public_key); public_key 77 net/ssl/openssl_client_key_store.cc int OpenSSLClientKeyStore::FindKeyPairIndex(EVP_PKEY* public_key) { public_key 78 net/ssl/openssl_client_key_store.cc if (!public_key) public_key 81 net/ssl/openssl_client_key_store.cc if (EVP_PKEY_cmp(pairs_[n].public_key, public_key) == 1) public_key 89 net/ssl/openssl_client_key_store.h EVP_PKEY* public_key; public_key 97 net/ssl/openssl_client_key_store.h int FindKeyPairIndex(EVP_PKEY* public_key); public_key 71 remoting/base/rsa_key_pair.cc std::vector<uint8> public_key; public_key 72 remoting/base/rsa_key_pair.cc CHECK(key_->ExportPublicKey(&public_key)); public_key 73 remoting/base/rsa_key_pair.cc std::string public_key_str(public_key.begin(), public_key.end()); public_key 993 remoting/host/plugin/host_script_object.cc const std::string& public_key) { public_key 998 remoting/host/plugin/host_script_object.cc params[1] = NPVariantFromString(public_key); public_key 206 remoting/host/plugin/host_script_object.h const std::string& public_key); public_key 82 remoting/host/register_support_host_request.cc XmlElement* public_key = new XmlElement( public_key 84 remoting/host/register_support_host_request.cc public_key->AddText(key_pair_->GetPublicKey()); public_key 85 remoting/host/register_support_host_request.cc query->AddElement(public_key); public_key 33 remoting/host/setup/service_client.cc const std::string& public_key, public_key 72 remoting/host/setup/service_client.cc const std::string& public_key, public_key 81 remoting/host/setup/service_client.cc post_body.SetString("data.publicKey", public_key); public_key 181 remoting/host/setup/service_client.cc const std::string& public_key, public_key 185 remoting/host/setup/service_client.cc return core_->RegisterHost(host_id, host_name, public_key, host_client_id, public_key 44 remoting/host/setup/service_client.h const std::string& public_key,