OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:key_pair
(Results
1 - 4
of
4
) sorted by null
/external/chromium/crypto/
rsa_private_key_nss_unittest.cc
33
scoped_ptr<crypto::RSAPrivateKey>
key_pair
(RSAPrivateKey::Create(256));
36
ASSERT_TRUE(
key_pair
->ExportPublicKey(&public_key));
41
EXPECT_EQ(
key_pair
->key_->pkcs11ID, key_pair_2->key_->pkcs11ID);
46
scoped_ptr<crypto::RSAPrivateKey>
key_pair
(RSAPrivateKey::Create(256));
49
ASSERT_TRUE(
key_pair
->ExportPublicKey(&public_key));
52
if (
key_pair
->key_) {
53
PK11_DestroyTokenObject(
key_pair
->key_->pkcs11Slot,
54
key_pair
->key_->pkcs11ID);
56
if (
key_pair
->public_key_) {
57
PK11_DestroyTokenObject(
key_pair
->public_key_->pkcs11Slot
[
all
...]
/external/chromium/third_party/libjingle/source/talk/base/
opensslidentity.h
74
static OpenSSLCertificate* Generate(OpenSSLKeyPair*
key_pair
,
122
OpenSSLIdentity(OpenSSLKeyPair*
key_pair
,
124
: key_pair_(
key_pair
), certificate_(certificate) {
125
ASSERT(
key_pair
!= NULL);
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/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
...]
Completed in 54 milliseconds