/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | session_manager_operation.h | 47 scoped_refptr<ownership::PublicKey> public_key); 62 scoped_refptr<ownership::PublicKey> public_key() { return public_key_; } function in class:chromeos::SessionManagerOperation
|
H A D | session_manager_operation.cc | 42 scoped_refptr<PublicKey> public_key) { 45 public_key_ = public_key; 100 scoped_refptr<PublicKey> public_key(new PublicKey()); 104 public_key->data() = current_key->data(); 106 if (!public_key->is_loaded() && util->IsPublicKeyPresent()) { 107 if (!util->ImportPublicKey(&public_key->data())) 111 return public_key; 39 Start( SessionManagerClient* session_manager_client, scoped_refptr<OwnerKeyUtil> owner_key_util, scoped_refptr<PublicKey> public_key) argument
|
/external/chromium_org/chrome/browser/extensions/api/easy_unlock_private/ |
H A D | easy_unlock_private_api_chromeos_unittest.cc | 116 const base::BinaryValue* public_key; local 117 ASSERT_TRUE(result_list->GetBinary(0, &public_key)); 118 ASSERT_TRUE(public_key); 126 std::string(public_key->GetBuffer(), public_key->GetSize())));
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
H A D | networking_private_service_client.h | 64 std::string public_key; member in struct:extensions::NetworkingPrivateServiceClient::CryptoVerify::Credentials
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_creator.cc | 98 std::string public_key; local 99 public_key.insert(public_key.begin(), 102 std::string extension_id = crx_file::id_util::GenerateId(public_key); 250 std::vector<uint8> public_key; local 251 CHECK(private_key->ExportPublicKey(&public_key)); 255 crx_file::CrxFile::Create(public_key.size(), signature.size(), &error)); 264 if (fwrite(&public_key.front(), sizeof(uint8), public_key.size(), 265 crx_handle.get()) != public_key [all...] |
/external/chromium_org/chromeos/cryptohome/ |
H A D | cryptohome_parameters.cc | 27 const std::string& public_key, 32 public_key(public_key), 41 public_key == other.public_key && 55 std::string() /* public_key */, 23 Secret( bool encrypt, bool sign, const std::string& symmetric_key, const std::string& public_key, bool wrapped) argument
|
H A D | cryptohome_parameters.h | 54 const std::string& public_key, 62 std::string public_key; member in struct:cryptohome::KeyDefinition::AuthorizationData::Secret
|
/external/chromium_org/chromeos/dbus/ |
H A D | easy_unlock_client.cc | 48 const std::string& public_key, 57 AppendStringAsByteArray(public_key, &writer); 147 std::string public_key = PopResponseData(&reader); local 149 if (public_key.empty() || private_key.empty()) { 154 callback.Run(private_key, public_key);
|
/external/chromium_org/components/component_updater/ |
H A D | component_unpacker.cc | 94 const std::vector<uint8_t>& public_key() const { return public_key_; } function in class:component_updater::__anon6380::CRXValidator 178 sha256->Update(&(validator.public_key()[0]), validator.public_key().size());
|
/external/chromium_org/content/child/webcrypto/ |
H A D | algorithm_dispatch.cc | 124 blink::WebCryptoKey* public_key, 142 public_key, 121 GenerateKeyPair(const blink::WebCryptoAlgorithm& algorithm, bool extractable, blink::WebCryptoKeyUsageMask combined_usage_mask, blink::WebCryptoKey* public_key, blink::WebCryptoKey* private_key) argument
|
H A D | algorithm_implementation.cc | 81 blink::WebCryptoKey* public_key, 76 GenerateKeyPair( const blink::WebCryptoAlgorithm& algorithm, bool extractable, blink::WebCryptoKeyUsageMask public_usage_mask, blink::WebCryptoKeyUsageMask private_usage_mask, blink::WebCryptoKey* public_key, blink::WebCryptoKey* private_key) const argument
|
/external/chromium_org/crypto/ |
H A D | rsa_private_key.h | 231 SECKEYPublicKey* public_key() { return public_key_; } function in class:crypto::RSAPrivateKey
|
H A D | signature_verifier_nss.cc | 32 SECStatus VerifyRSAPSS_End(SECKEYPublicKey* public_key, argument 42 unsigned int modulus_len = SECKEY_PublicKeyStrength(public_key); 48 SECStatus rv = PK11_PubEncryptRaw(public_key, &enc[0], 87 SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, local 89 if (!public_key) 94 SECKEY_DestroyPublicKey(public_key); 108 SECKEY_DestroyPublicKey(public_key); 118 vfy_context_ = VFY_CreateContextWithAlgorithmID(public_key, &sig, 121 SECKEY_DestroyPublicKey(public_key); // Done with public_key 150 SECKEYPublicKey* public_key = DecodePublicKeyInfo(public_key_info, local [all...] |
H A D | ec_private_key_nss.cc | 151 SECKEYPublicKey** public_key) { 155 *public_key = SECKEY_ExtractPublicKey(decoded_spki); 157 if (!*public_key) { 162 if (SECKEY_GetPublicKeyType(*public_key) != ecKey) { 164 SECKEY_DestroyPublicKey(*public_key); 165 *public_key = NULL; 186 SECKEY_DestroyPublicKey(*public_key); 187 *public_key = NULL; 202 &(*public_key)->u.ec.publicValue, 210 SECKEY_DestroyPublicKey(*public_key); 142 ImportFromEncryptedPrivateKeyInfo( PK11SlotInfo* slot, const std::string& password, const uint8* encrypted_private_key_info, size_t encrypted_private_key_info_len, CERTSubjectPublicKeyInfo* decoded_spki, bool permanent, bool sensitive, SECKEYPrivateKey** key, SECKEYPublicKey** public_key) argument [all...] |
/external/chromium_org/net/android/ |
H A D | network_library.cc | 65 bool StoreKeyPair(const uint8* public_key, argument 71 ToJavaByteArray(env, public_key, public_len);
|
/external/chromium_org/net/base/ |
H A D | keygen_handler_mac.cc | 107 SecKeyRef public_key = NULL; local 130 &public_key, &private_key); 136 err = SecKeychainItemExport(public_key, kSecFormatBSAFE, 0, NULL, 202 if (public_key) 203 SecKeychainItemDelete(reinterpret_cast<SecKeychainItemRef>(public_key)); 214 if (public_key) 215 CFRelease(public_key);
|
/external/chromium_org/remoting/host/ |
H A D | register_support_host_request.cc | 82 XmlElement* public_key = new XmlElement( local 84 public_key->AddText(key_pair_->GetPublicKey()); 85 query->AddElement(public_key);
|
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/ |
H A D | easy_unlock_key_manager.cc | 114 dict->SetString(kKeyPermitId, data.public_key); 115 dict->SetString(kKeyPermitData, data.public_key); 127 std::string public_key; local 131 !dict.GetString(kKeyPermitId, &public_key) || 137 data->public_key.swap(public_key);
|
/external/chromium_org/chrome/browser/chromeos/ownership/ |
H A D | owner_settings_service_chromeos.cc | 62 scoped_refptr<PublicKey> public_key, 64 const base::Callback<void(const scoped_refptr<PublicKey>& public_key, 71 owner_key_util->FindPrivateKeyInSlot(public_key->data(), slot.get()))); 74 base::Bind(callback, public_key, private_key)); 80 const base::Callback<void(const scoped_refptr<PublicKey>& public_key, 84 scoped_refptr<PublicKey> public_key; local 89 base::Bind(callback, public_key, private_key)); 92 public_key = new PublicKey(); 93 public_key->data().swap(public_key_data); 98 public_key, 60 LoadPrivateKeyByPublicKey( const scoped_refptr<OwnerKeyUtil>& owner_key_util, scoped_refptr<PublicKey> public_key, const std::string& username_hash, const base::Callback<void(const scoped_refptr<PublicKey>& public_key, const scoped_refptr<PrivateKey>& private_key)>& callback) argument 77 LoadPrivateKey( const scoped_refptr<OwnerKeyUtil>& owner_key_util, const std::string username_hash, const base::Callback<void(const scoped_refptr<PublicKey>& public_key, const scoped_refptr<PrivateKey>& private_key)>& callback) argument 111 std::vector<uint8> public_key; local 268 ReloadKeypairImpl(const base::Callback< void(const scoped_refptr<PublicKey>& public_key, const scoped_refptr<PrivateKey>& private_key)>& callback) argument [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_store_chromeos_unittest.cc | 77 std::vector<uint8> public_key; variable 78 ASSERT_TRUE(policy_.GetSigningKey()->ExportPublicKey(&public_key)); 79 StoreUserPolicyKey(public_key); variable 127 void StoreUserPolicyKey(const std::vector<uint8>& public_key) { argument 131 reinterpret_cast<const char*>(public_key.data()), 132 public_key.size()));
|
/external/chromium_org/chrome/browser/devtools/device/usb/ |
H A D | android_rsa.cc | 207 std::vector<uint8> public_key; local 211 key->ExportPublicKey(&public_key); 212 std::string asn1(public_key.begin(), public_key.end());
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | sync_extension_helper.cc | 278 std::string public_key; local 281 Extension::FormatPEMForFileOutput(pem, &public_key, 283 return public_key; 293 const std::string& public_key = NameToPublicKey(name); local 294 source.SetString(extensions::manifest_keys::kPublicKey, public_key);
|
/external/chromium_org/content/child/webcrypto/openssl/ |
H A D | rsa_key_openssl.cc | 123 crypto::ScopedEVP_PKEY public_key, 131 rsa_algorithm_id, hash.id(), public_key.get(), &key_algorithm); 138 status = ExportPKeySpki(public_key.get(), &spki_data); 143 new AsymKeyOpenSsl(public_key.Pass(), CryptoData(spki_data)), 251 blink::WebCryptoKey* public_key, 300 public_key); 392 crypto::ScopedEVP_PKEY public_key(d2i_PUBKEY_bio(bio.get(), NULL)); 393 if (!public_key.get()) 396 if (EVP_PKEY_id(public_key.get()) != EVP_PKEY_RSA) 402 return CreateWebCryptoPublicKey(public_key 122 CreateWebCryptoPublicKey( crypto::ScopedEVP_PKEY public_key, const blink::WebCryptoAlgorithmId rsa_algorithm_id, const blink::WebCryptoAlgorithm& hash, bool extractable, blink::WebCryptoKeyUsageMask usage_mask, blink::WebCryptoKey* key) argument 246 GenerateKeyPair( const blink::WebCryptoAlgorithm& algorithm, bool extractable, blink::WebCryptoKeyUsageMask public_usage_mask, blink::WebCryptoKeyUsageMask private_usage_mask, blink::WebCryptoKey* public_key, blink::WebCryptoKey* private_key) const argument 467 EVP_PKEY* public_key = AsymKeyOpenSsl::Cast(key)->key(); local [all...] |
/external/chromium_org/content/child/webcrypto/test/ |
H A D | aes_cbc_unittest.cc | 943 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 953 &public_key, local 960 ExportKey(blink::WebCryptoKeyFormatSpki, public_key, &public_key_spki)); 975 public_key,
|
H A D | rsa_oaep_unittest.cc | 70 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 78 &public_key)); 90 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 98 &public_key)); 110 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 118 &public_key)); 131 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 139 &public_key)); 163 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 171 &public_key)); 213 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 259 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 326 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 390 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 400 &public_key, local 508 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local 518 &public_key, local 602 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local [all...] |