/external/chromium_org/remoting/base/ |
rsa_key_pair_unittest.cc | 69 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 71 std::string signature_base64 = key_pair->SignMessage(kTestMessage); 77 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::Generate(); local 78 ASSERT_TRUE(key_pair.get()); 79 ASSERT_NE(key_pair->ToString(), ""); 80 ASSERT_NE(key_pair->GetPublicKey(), ""); 81 ASSERT_NE(key_pair->SignMessage(kTestMessage), "");
|
/external/chromium/chrome/browser/extensions/ |
extension_creator.cc | 107 scoped_ptr<crypto::RSAPrivateKey> key_pair( 109 if (!key_pair.get()) { 116 if (!key_pair->ExportPrivateKey(&private_key_vector)) { 148 return key_pair.release(); 249 scoped_ptr<crypto::RSAPrivateKey> key_pair; local 251 key_pair.reset(ReadInputKey(private_key_path)); 253 key_pair.reset(GenerateKey(output_private_key_path)); 254 if (!key_pair.get()) 266 SignZip(zip_path, key_pair.get(), &signature) && 267 WriteCRX(zip_path, key_pair.get(), signature, crx_path)) [all...] |
/external/chromium_org/remoting/host/ |
host_status_sender_unittest.cc | 188 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 189 ASSERT_TRUE(key_pair.get()); 192 key_pair->SignMessage(message);
|
heartbeat_sender_unittest.cc | 251 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 252 ASSERT_TRUE(key_pair.get()); 254 key_pair->SignMessage(std::string(kTestJid) + ' ' + expectedSequenceId);
|
register_support_host_request_unittest.cc | 121 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 122 ASSERT_TRUE(key_pair.get()); 125 key_pair->SignMessage(std::string(kTestJid) + ' ' + time_str);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
opensslidentity.cc | 191 OpenSSLKeyPair* key_pair, const std::string& common_name) { 196 X509* x509 = MakeCertificate(key_pair->pkey(), actual_common_name.c_str()); 252 OpenSSLKeyPair *key_pair = OpenSSLKeyPair::Generate(); local 253 if (key_pair) { 255 OpenSSLCertificate::Generate(key_pair, common_name); 257 return new OpenSSLIdentity(key_pair, certificate); 258 delete key_pair;
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator.cc | 89 crypto::RSAPrivateKey* key_pair, 92 if (!key_pair->ExportPublicKey(&public_key_bytes)) { 150 scoped_ptr<crypto::RSAPrivateKey> key_pair( 152 if (!key_pair) { 159 if (!key_pair->ExportPrivateKey(&private_key_vector)) { 191 return key_pair.release(); 300 scoped_ptr<crypto::RSAPrivateKey> key_pair; local 302 key_pair.reset(ReadInputKey(private_key_path)); 304 key_pair.reset(GenerateKey(output_private_key_path)); 305 if (!key_pair) [all...] |
/external/chromium_org/media/cdm/ |
json_web_key.cc | 150 KeyIdAndKeyPair key_pair; local 151 if (!ConvertJwkToKeyPair(*jwk, &key_pair)) { 155 local_keys.push_back(key_pair);
|
/external/chromium_org/remoting/host/setup/ |
me2me_native_messaging_host.cc | 227 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::Generate(); local 228 response->SetString("privateKey", key_pair->ToString()); 229 response->SetString("publicKey", key_pair->GetPublicKey());
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
opensslidentity.cc | 202 OpenSSLKeyPair* key_pair, const std::string& common_name) { 207 X509* x509 = MakeCertificate(key_pair->pkey(), actual_common_name.c_str()); 324 OpenSSLKeyPair *key_pair = OpenSSLKeyPair::Generate(); local 325 if (key_pair) { 327 OpenSSLCertificate::Generate(key_pair, common_name); 329 return new OpenSSLIdentity(key_pair, certificate); 330 delete key_pair;
|
/external/chromium_org/remoting/host/plugin/ |
host_script_object.cc | 984 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::Generate(); local [all...] |