/external/chromium_org/net/base/ |
openssl_private_key_store_android.cc | 25 unsigned char* public_key = NULL; local 26 int public_len = i2d_PUBKEY(pkey, &public_key); 41 static_cast<const uint8*>(public_key), public_len, 46 OPENSSL_free(public_key);
|
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/extensions/browser/ |
verified_contents_unittest.cc | 39 bool GetPublicKey(const base::FilePath& path, std::string* public_key) { 43 if (!Extension::ParsePEMKeyBytes(public_key_pem, public_key)) 57 std::string public_key; local 58 ASSERT_TRUE(GetPublicKey(path.AppendASCII("public_key.pem"), &public_key)); 59 VerifiedContents contents(reinterpret_cast<const uint8*>(public_key.data()), 60 public_key.size());
|
/external/chromium_org/net/quic/crypto/ |
channel_id_nss.cc | 32 SECKEYPublicKey public_key; local 33 memset(&public_key, 0, sizeof(public_key)); 40 public_key.keyType = ecKey; 41 public_key.u.ec.DEREncodedParams.type = siBuffer; 42 public_key.u.ec.DEREncodedParams.data = const_cast<unsigned char*>(p256_oid); 43 public_key.u.ec.DEREncodedParams.len = sizeof(p256_oid); 48 public_key.u.ec.publicValue.type = siBuffer; 49 public_key.u.ec.publicValue.data = key_buf; 50 public_key.u.ec.publicValue.len = sizeof(key_buf) [all...] |
p256_key_exchange_openssl.cc | 18 P256KeyExchange::P256KeyExchange(EC_KEY* private_key, const uint8* public_key) 20 memcpy(public_key_, public_key, sizeof(public_key_)); 40 uint8 public_key[kUncompressedP256PointBytes]; local 43 POINT_CONVERSION_UNCOMPRESSED, public_key, 44 sizeof(public_key), NULL) != sizeof(public_key)) { 49 return new P256KeyExchange(private_key.release(), public_key);
|
p256_key_exchange_nss.cc | 32 const uint8* public_key) 34 memcpy(public_key_, public_key, sizeof(public_key_)); 78 SECKEYPublicKey* public_key = key_pair->public_key(); local 79 if (public_key->keyType != ecKey || 80 public_key->u.ec.publicValue.len != kUncompressedP256PointBytes || 81 !public_key->u.ec.publicValue.data || 82 public_key->u.ec.publicValue.data[0] != kUncompressedECPointForm) { 94 if (public_key->u.ec.DEREncodedParams.len != oid_data->oid.len + 2 || 95 !public_key->u.ec.DEREncodedParams.data | 127 vector<uint8> public_key; local [all...] |
/external/chromium_org/net/ssl/ |
openssl_client_key_store.h | 56 // Given a certificate's |public_key|, return the corresponding private 89 EVP_PKEY* public_key; member in class:net::OpenSSLClientKeyStore::KeyPair 96 // Returns the index of the keypair for |public_key|. or -1 if not found. 97 int FindKeyPairIndex(EVP_PKEY* public_key);
|
/external/chromium_org/crypto/ |
ec_private_key.h | 31 // (The difference in types of key() and public_key() make this a little 75 // Imports the key pair into |slot| and returns in |public_key| and |key|. 88 SECKEYPublicKey** public_key); 95 SECKEYPublicKey* public_key() { return public_key_; } function in class:crypto::ECPrivateKey
|
rsa_private_key_nss_unittest.cc | 58 std::vector<uint8> public_key; local 59 ASSERT_TRUE(key_pair->ExportPublicKey(&public_key)); 62 crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); 71 std::vector<uint8> public_key; local 72 ASSERT_TRUE(key_pair->ExportPublicKey(&public_key)); 84 EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key));
|
signature_verifier_nss.cc | 32 SECStatus VerifyRSAPSS_End(SECKEYPublicKey* public_key, 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...] |
rsa_private_key.h | 225 SECKEYPublicKey* public_key() { return public_key_; } function in class:crypto::RSAPrivateKey
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
session_manager_operation_unittest.cc | 68 ASSERT_TRUE(op->public_key().get()); 69 ASSERT_TRUE(op->public_key()->is_loaded()); 70 std::vector<uint8> public_key; local 71 ASSERT_TRUE(policy_.GetSigningKey()->ExportPublicKey(&public_key)); 72 EXPECT_EQ(public_key, op->public_key()->data()); 107 ASSERT_TRUE(op.public_key().get()); 108 EXPECT_FALSE(op.public_key()->is_loaded()); 160 EXPECT_TRUE(op.public_key().get()); 161 EXPECT_TRUE(op.public_key()->is_loaded()) 250 std::vector<uint8> public_key; local [all...] |
session_manager_operation.h | 42 scoped_refptr<PublicKey> public_key); 57 scoped_refptr<PublicKey> public_key() { return public_key_; } function in class:chromeos::SessionManagerOperation
|
/external/chromium_org/chromeos/dbus/ |
shill_manager_client.h | 107 std::string public_key; member in struct:chromeos::ShillManagerClient::VerificationProperties 204 // by the given |service_path|, encrypted using the |public_key| for the 213 // |data| encrypted using the |public_key| for the trusted device. If the
|
/external/chromium_org/remoting/base/ |
rsa_key_pair.cc | 71 std::vector<uint8> public_key; local 72 CHECK(key_->ExportPublicKey(&public_key)); 73 std::string public_key_str(public_key.begin(), public_key.end());
|
/external/chromium_org/chrome/app/ |
signature_validator_win_unittest.cc | 79 uint8* public_key = blob.pbData; local 83 base::StringPiece key_bytes(reinterpret_cast<char*>(public_key),
|
/external/chromium_org/chrome/browser/component_updater/ |
component_unpacker.cc | 89 const std::vector<uint8>& public_key() const { return public_key_; } function in class:component_updater::__anon8011::CRXValidator 173 sha256->Update(&(validator.public_key()[0]), validator.public_key().size());
|
/external/chromium_org/components/policy/core/common/cloud/ |
cloud_policy_validator_unittest.cc | 81 std::string public_key = std::string( local 95 validator->ValidateCachedKey(public_key, 99 validator->ValidateSignature(public_key,
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_nss.cc | 75 const SECKEYPublicKey* public_key = ecdsa_keypair_->public_key(); variable 77 // public_key->u.ec.publicValue is an ANSI X9.62 public key which, for 82 const unsigned char* const data = public_key->u.ec.publicValue.data; 83 const unsigned int len = public_key->u.ec.publicValue.len;
|
/external/chromium_org/chrome/browser/chromeos/ownership/ |
owner_settings_service.cc | 67 const std::vector<uint8>& public_key, 74 owner_key_util->FindPrivateKeyInSlot(public_key, slot.get())); 83 std::vector<uint8> public_key; local 84 if (!owner_key_util->ImportPublicKey(&public_key)) { 95 public_key, 102 owner_key_util, public_key, username_hash, callback); 108 std::vector<uint8> public_key; local 109 if (!owner_key_util->ImportPublicKey(&public_key)) 112 crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key));
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
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) { 131 reinterpret_cast<const char*>(public_key.data()), 132 public_key.size()));
|
/external/chromium_org/chrome/browser/extensions/api/cast_channel/ |
cast_auth_util_nss.cc | 147 SECItem public_key; member in struct:__anon8181::ICACertInfo 232 trusted_ca_key_der = &kAllowedICAs[0].public_key; 242 trusted_ca_key_der = &kAllowedICAs[index].public_key; 277 crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); 278 if (!public_key.get()) { 290 public_key.get(),
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator.cc | 98 std::string public_key; local 99 public_key.insert(public_key.begin(), 102 std::string extension_id = id_util::GenerateId(public_key); 249 std::vector<uint8> public_key; local 250 CHECK(private_key->ExportPublicKey(&public_key)); 254 CrxFile::Create(public_key.size(), signature.size(), &error)); 263 if (fwrite(&public_key.front(), sizeof(uint8), public_key.size(), 264 crx_handle.get()) != public_key.size()) [all...] |
/external/chromium_org/remoting/host/ |
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/devtools/device/usb/ |
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());
|