/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_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 | 252 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 253 ASSERT_TRUE(key_pair.get()); 255 key_pair->SignMessage(std::string(kTestJid) + ' ' + expectedSequenceId);
|
register_support_host_request_unittest.cc | 122 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(kTestRsaKeyPair); local 123 ASSERT_TRUE(key_pair.get()); 126 key_pair->SignMessage(std::string(kTestJid) + ' ' + time_str);
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator.cc | 89 crypto::RSAPrivateKey* key_pair, 92 if (!key_pair->ExportPublicKey(&public_key_bytes)) { 149 scoped_ptr<crypto::RSAPrivateKey> key_pair( 151 if (!key_pair) { 158 if (!key_pair->ExportPrivateKey(&private_key_vector)) { 190 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 | 158 KeyIdAndKeyPair key_pair; local 159 if (!ConvertJwkToKeyPair(*jwk, &key_pair)) { 163 local_keys.push_back(key_pair);
|
/external/chromium_org/third_party/webrtc/base/ |
opensslidentity.cc | 176 OpenSSLKeyPair* key_pair, const SSLIdentityParams& params) { 182 X509* x509 = MakeCertificate(key_pair->pkey(), actual_params); 296 OpenSSLKeyPair *key_pair = OpenSSLKeyPair::Generate(); local 297 if (key_pair) { 299 key_pair, params); 301 return new OpenSSLIdentity(key_pair, certificate); 302 delete key_pair;
|
/external/chromium_org/remoting/host/setup/ |
me2me_native_messaging_host.cc | 264 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::Generate(); local 265 response->SetString("privateKey", key_pair->ToString()); 266 response->SetString("publicKey", key_pair->GetPublicKey());
|
/external/chromium_org/remoting/test/ |
protocol_perftest.cc | 269 scoped_refptr<RsaKeyPair> key_pair = RsaKeyPair::FromString(key_base64); local 270 ASSERT_TRUE(key_pair.get()); 278 true, kHostOwner, host_cert, key_pair, host_secret, NULL);
|