Searched defs:public_key (Results 51 - 75 of 84) sorted by relevance

1234

/external/chromium_org/extensions/browser/api/cast_channel/
H A Dcast_auth_util_nss.cc512 SECItem public_key; member in struct:extensions::core_api::cast_channel::__anon8070::ICACertInfo
656 trusted_ca_key_der = &kAllowedICAs[0].public_key;
666 trusted_ca_key_der = &kAllowedICAs[index].public_key;
706 crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get()));
707 if (!public_key.get()) {
721 public_key.get(),
/external/chromium_org/extensions/browser/
H A Dverified_contents.cc93 VerifiedContents::VerifiedContents(const uint8* public_key, int public_key_size) argument
94 : public_key_(public_key),
/external/chromium_org/remoting/host/setup/
H A Dservice_client.cc33 const std::string& public_key,
72 const std::string& public_key,
81 post_body.SetString("data.publicKey", public_key);
181 const std::string& public_key,
185 return core_->RegisterHost(host_id, host_name, public_key, host_client_id,
69 RegisterHost( const std::string& host_id, const std::string& host_name, const std::string& public_key, const std::string& host_client_id, const std::string& oauth_access_token, Delegate* delegate) argument
178 RegisterHost( const std::string& host_id, const std::string& host_name, const std::string& public_key, const std::string& host_client_id, const std::string& oauth_access_token, Delegate* delegate) argument
/external/openssl/crypto/dh/
H A Ddh_ameth.c79 ASN1_INTEGER *public_key = NULL; local
103 if (!(public_key=d2i_ASN1_INTEGER(NULL, &p, pklen)))
110 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
116 ASN1_INTEGER_free(public_key);
121 if (public_key)
122 ASN1_INTEGER_free(public_key);
/external/chromium_org/chrome/browser/extensions/
H A Dinstall_signer.cc251 std::string public_key; local
252 if (!Extension::ParsePEMKeyBytes(kPublicKeyPEM, &public_key))
261 reinterpret_cast<const uint8*>(public_key.data()),
262 public_key.size()))
H A Dsandboxed_unpacker.cc578 std::string public_key = local
580 base::Base64Encode(public_key, &public_key_);
582 extension_id_ = crx_file::id_util::GenerateId(public_key);
/external/chromium_org/content/child/webcrypto/test/
H A Drsa_ssa_unittest.cc543 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
548 algorithm, extractable, usage_mask, &public_key, &private_key));
549 EXPECT_FALSE(public_key.isNull());
551 EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key.type());
554 public_key.algorithm().rsaHashedParams()->modulusLengthBits());
558 public_key.algorithm().rsaHashedParams()->hash().id());
561 EXPECT_TRUE(public_key.extractable());
563 EXPECT_EQ(usage_mask, public_key.usages());
571 ExportKey(blink::WebCryptoKeyFormatSpki, public_key, &public_key_spki));
574 public_key
735 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
766 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
782 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
791 &public_key, local
917 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
926 &public_key, local
979 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
1012 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
1034 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
1045 &public_key, local
1057 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
1069 &public_key, local
1084 &public_key, local
1116 blink::WebCryptoKey public_key = blink::WebCryptoKey::createNull(); local
[all...]
H A Dtest_helpers.cc353 blink::WebCryptoKey* public_key,
361 public_key));
362 EXPECT_FALSE(public_key->isNull());
363 EXPECT_TRUE(public_key->handle());
364 EXPECT_EQ(blink::WebCryptoKeyTypePublic, public_key->type());
365 EXPECT_EQ(algorithm.id(), public_key->algorithm().id());
366 EXPECT_TRUE(public_key->extractable());
367 EXPECT_EQ(public_key_usage_mask, public_key->usages());
347 ImportRsaKeyPair(const std::vector<uint8_t>& spki_der, const std::vector<uint8_t>& pkcs8_der, const blink::WebCryptoAlgorithm& algorithm, bool extractable, blink::WebCryptoKeyUsageMask public_key_usage_mask, blink::WebCryptoKeyUsageMask private_key_usage_mask, blink::WebCryptoKey* public_key, blink::WebCryptoKey* private_key) argument
/external/chromium_org/net/cert/
H A Dcert_verify_proc.cc512 uint8 public_key[base::kSHA1Length]; member in struct:net::PublicKeyDomainLimitation
597 memcmp(j->data(), kLimits[i].public_key, base::kSHA1Length) == 0) {
H A Dx509_util_nss.cc87 SECKEYPublicKey* public_key,
94 SECKEY_CreateSubjectPublicKeyInfo(public_key);
262 CERTCertificate* cert = CreateCertificate(key->public_key(),
303 CERTCertificate* cert = CreateCertificate(key->public_key(),
86 CreateCertificate( SECKEYPublicKey* public_key, const std::string& subject, uint32 serial_number, base::Time not_valid_before, base::Time not_valid_after) argument
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dp_ec_asn1.c395 const EC_POINT *public_key; local
412 public_key = EC_KEY_get0_public_key(x);
413 if (public_key != NULL) {
415 group, public_key, EC_KEY_get_conv_form(x), NULL, 0, ctx);
426 EC_POINT_point2oct(group, public_key, EC_KEY_get_conv_form(x),
/external/openssl/crypto/dsa/
H A Ddsa_ameth.c77 ASN1_INTEGER *public_key = NULL; local
113 if (!(public_key=d2i_ASN1_INTEGER(NULL, &p, pklen)))
119 if (!(dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
125 ASN1_INTEGER_free(public_key);
130 if (public_key)
131 ASN1_INTEGER_free(public_key);
/external/openssl/crypto/ec/
H A Dec_ameth.c437 const EC_POINT *public_key; local
455 public_key = EC_KEY_get0_public_key(x);
456 if (public_key != NULL)
458 if ((pub_key = EC_POINT_point2bn(group, public_key,
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_parse.h71 const u8 *public_key; member in struct:wps_parse_attr
/external/wpa_supplicant_8/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_parse.h71 const u8 *public_key; member in struct:wps_parse_attr
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dx509v3.h58 u8 *public_key; member in struct:x509_certificate
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_parse.h71 const u8 *public_key; member in struct:wps_parse_attr
/external/chromium_org/chrome/browser/chromeos/platform_keys/
H A Dplatform_keys_nss.cc164 SignState(const std::string& public_key,
297 SignState::SignState(const std::string& public_key, argument
301 : public_key_(public_key),
579 const std::string& public_key,
586 new SignState(public_key, hash_algorithm, data, callback));
578 Sign(const std::string& token_id, const std::string& public_key, HashAlgorithm hash_algorithm, const std::string& data, const SignCallback& callback, BrowserContext* browser_context) argument
/external/chromium_org/chrome/browser/extensions/api/easy_unlock_private/
H A Deasy_unlock_private_api.cc333 const std::string& public_key) {
335 if (!public_key.empty() && !private_key.empty()) {
337 public_key, private_key);
331 OnData( const std::string& private_key, const std::string& public_key) argument
/external/chromium_org/content/child/webcrypto/nss/
H A Drsa_key_nss.cc91 crypto::ScopedSECKEYPublicKey public_key(SECKEY_ConvertToPublicKey(key));
92 if (!public_key)
95 rsa_algorithm, hash_algorithm, public_key.get(), key_algorithm);
528 blink::WebCryptoKey* public_key,
594 *public_key = blink::WebCryptoKey::create(public_key_handle.release(),
523 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/content/child/webcrypto/
H A Dwebcrypto_impl.cc219 public_key(blink::WebCryptoKey::createNull()),
227 // If |is_asymmetric| is false, then |public_key| is understood to mean the
229 blink::WebCryptoKey public_key; member in struct:content::__anon7555::GenerateKeyState
405 state->result.completeWithKeyPair(state->public_key, state->private_key);
407 state->result.completeWithKey(state->public_key);
421 &state->public_key,
425 DCHECK(state->public_key.handle());
427 DCHECK_EQ(state->algorithm.id(), state->public_key.algorithm().id());
429 DCHECK_EQ(true, state->public_key.extractable());
433 blink::WebCryptoKey* key = &state->public_key;
[all...]
/external/chromium_org/extensions/common/
H A Dextension.cc450 std::string public_key; local
452 if (!manifest->GetString(keys::kPublicKey, &public_key) ||
453 !ParsePEMKeyBytes(public_key, &public_key_bytes)) {
H A Dextension.h296 const std::string& public_key() const { return public_key_; } function in class:extensions::Extension

Completed in 540 milliseconds

1234