/external/chromium_org/crypto/ |
D | rsa_private_key_nss.cc | 45 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey() 53 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create() 64 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 78 RSAPrivateKey* RSAPrivateKey::CreateSensitive(PK11SlotInfo* slot, in CreateSensitive() 87 RSAPrivateKey* RSAPrivateKey::CreateSensitiveFromPrivateKeyInfo( in CreateSensitiveFromPrivateKeyInfo() 97 RSAPrivateKey* RSAPrivateKey::CreateFromKey(SECKEYPrivateKey* key) { in CreateFromKey() 101 RSAPrivateKey* copy = new RSAPrivateKey(); in CreateFromKey() 113 RSAPrivateKey* RSAPrivateKey::FindFromPublicKeyInfo( in FindFromPublicKeyInfo() 117 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in FindFromPublicKeyInfo() 171 RSAPrivateKey* RSAPrivateKey::Copy() const { in Copy() [all …]
|
D | rsa_private_key_openssl.cc | 50 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create() 61 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create() 70 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 90 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo() 98 RSAPrivateKey::RSAPrivateKey() in RSAPrivateKey() function in crypto::RSAPrivateKey 102 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey() 107 RSAPrivateKey* RSAPrivateKey::Copy() const { in Copy() 108 scoped_ptr<RSAPrivateKey> copy(new RSAPrivateKey()); in Copy() 118 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) const { in ExportPrivateKey() 122 bool RSAPrivateKey::ExportPublicKey(std::vector<uint8>* output) const { in ExportPublicKey()
|
D | rsa_private_key_unittest.cc | 100 scoped_ptr<crypto::RSAPrivateKey> keypair1( in TEST() 101 crypto::RSAPrivateKey::Create(1024)); in TEST() 102 scoped_ptr<crypto::RSAPrivateKey> keypair2( in TEST() 103 crypto::RSAPrivateKey::Create(2048)); in TEST() 117 scoped_ptr<crypto::RSAPrivateKey> keypair3( in TEST() 118 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST() 119 scoped_ptr<crypto::RSAPrivateKey> keypair4( in TEST() 120 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST() 142 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 143 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST() [all …]
|
D | rsa_private_key_nss_unittest.cc | 34 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); in TEST_F() 36 scoped_ptr<crypto::RSAPrivateKey> key_copy( in TEST_F() 37 RSAPrivateKey::CreateFromKey(key_pair->key())); in TEST_F() 56 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); in TEST_F() 61 scoped_ptr<crypto::RSAPrivateKey> key_pair_2( in TEST_F() 62 crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); in TEST_F() 69 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); in TEST_F() 84 EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); in TEST_F()
|
D | rsa_private_key.h | 170 class CRYPTO_EXPORT RSAPrivateKey { 172 ~RSAPrivateKey(); 175 static RSAPrivateKey* Create(uint16 num_bits); 180 static RSAPrivateKey* CreateFromPrivateKeyInfo( 187 static RSAPrivateKey* CreateSensitive(PK11SlotInfo* slot, uint16 num_bits); 193 static RSAPrivateKey* CreateSensitiveFromPrivateKeyInfo( 199 static RSAPrivateKey* CreateFromKey(SECKEYPrivateKey* key); 207 static RSAPrivateKey* FindFromPublicKeyInfo( 219 RSAPrivateKey* Copy() const; 235 RSAPrivateKey(); [all …]
|
D | signature_creator_unittest.cc | 26 scoped_ptr<crypto::RSAPrivateKey> key_original( in TEST() 27 crypto::RSAPrivateKey::Create(1024)); in TEST() 32 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 33 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST() 63 scoped_ptr<crypto::RSAPrivateKey> key_original( in TEST() 64 crypto::RSAPrivateKey::Create(1024)); in TEST() 69 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 70 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
|
/external/chromium/crypto/ |
D | rsa_private_key_openssl.cc | 51 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create() 62 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create() 71 RSAPrivateKey* RSAPrivateKey::CreateSensitive(uint16 num_bits) { in CreateSensitive() 77 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 96 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo() 105 RSAPrivateKey* RSAPrivateKey::CreateSensitiveFromPrivateKeyInfo( in CreateSensitiveFromPrivateKeyInfo() 112 RSAPrivateKey* RSAPrivateKey::FindFromPublicKeyInfo( in FindFromPublicKeyInfo() 118 RSAPrivateKey::RSAPrivateKey() in RSAPrivateKey() function in crypto::RSAPrivateKey 122 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey() 127 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) { in ExportPrivateKey() [all …]
|
D | rsa_private_key_nss.cc | 44 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey() 52 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create() 59 RSAPrivateKey* RSAPrivateKey::CreateSensitive(uint16 num_bits) { in CreateSensitive() 66 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 74 RSAPrivateKey* RSAPrivateKey::CreateSensitiveFromPrivateKeyInfo( in CreateSensitiveFromPrivateKeyInfo() 82 RSAPrivateKey* RSAPrivateKey::FindFromPublicKeyInfo( in FindFromPublicKeyInfo() 86 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in FindFromPublicKeyInfo() 146 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) { in ExportPrivateKey() 168 bool RSAPrivateKey::ExportPublicKey(std::vector<uint8>* output) { in ExportPublicKey() 182 RSAPrivateKey::RSAPrivateKey() : key_(NULL), public_key_(NULL) { in RSAPrivateKey() function in crypto::RSAPrivateKey [all …]
|
D | rsa_private_key_mac.cc | 16 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create() 17 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create() 47 RSAPrivateKey* RSAPrivateKey::CreateSensitive(uint16 num_bits) { in CreateSensitive() 53 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 58 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo() 148 RSAPrivateKey* RSAPrivateKey::CreateSensitiveFromPrivateKeyInfo( in CreateSensitiveFromPrivateKeyInfo() 155 RSAPrivateKey* RSAPrivateKey::FindFromPublicKeyInfo( in FindFromPublicKeyInfo() 161 RSAPrivateKey::RSAPrivateKey() { in RSAPrivateKey() function in crypto::RSAPrivateKey 168 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey() 177 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) { in ExportPrivateKey() [all …]
|
D | rsa_private_key_win.cc | 25 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create() 26 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create() 42 RSAPrivateKey* RSAPrivateKey::CreateSensitive(uint16 num_bits) { in CreateSensitive() 48 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 50 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo() 113 RSAPrivateKey* RSAPrivateKey::CreateSensitiveFromPrivateKeyInfo( in CreateSensitiveFromPrivateKeyInfo() 120 RSAPrivateKey* RSAPrivateKey::FindFromPublicKeyInfo( in FindFromPublicKeyInfo() 126 RSAPrivateKey::RSAPrivateKey() : provider_(NULL), key_(NULL) {} in RSAPrivateKey() function in crypto::RSAPrivateKey 128 RSAPrivateKey::~RSAPrivateKey() {} in ~RSAPrivateKey() 130 bool RSAPrivateKey::InitProvider() { in InitProvider() [all …]
|
D | rsa_private_key_unittest.cc | 13 scoped_ptr<crypto::RSAPrivateKey> keypair1( in TEST() 14 crypto::RSAPrivateKey::Create(1024)); in TEST() 15 scoped_ptr<crypto::RSAPrivateKey> keypair2( in TEST() 16 crypto::RSAPrivateKey::Create(2048)); in TEST() 30 scoped_ptr<crypto::RSAPrivateKey> keypair3( in TEST() 31 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST() 32 scoped_ptr<crypto::RSAPrivateKey> keypair4( in TEST() 33 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST() 165 scoped_ptr<crypto::RSAPrivateKey> key( in TEST() 166 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST() [all …]
|
D | rsa_private_key_nss_unittest.cc | 33 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); in TEST_F() 38 scoped_ptr<crypto::RSAPrivateKey> key_pair_2( in TEST_F() 39 crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); in TEST_F() 46 scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); in TEST_F() 61 EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); in TEST_F()
|
D | rsa_private_key.h | 173 class RSAPrivateKey { 175 ~RSAPrivateKey(); 178 static RSAPrivateKey* Create(uint16 num_bits); 184 static RSAPrivateKey* CreateSensitive(uint16 num_bits); 189 static RSAPrivateKey* CreateFromPrivateKeyInfo( 198 static RSAPrivateKey* CreateSensitiveFromPrivateKeyInfo( 209 static RSAPrivateKey* FindFromPublicKeyInfo( 239 RSAPrivateKey(); 244 static RSAPrivateKey* CreateWithParams(uint16 num_bits, 250 static RSAPrivateKey* CreateFromPrivateKeyInfoWithParams( [all …]
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | policy_builder.cc | 114 scoped_ptr<crypto::RSAPrivateKey> PolicyBuilder::GetSigningKey() { in GetSigningKey() 116 return scoped_ptr<crypto::RSAPrivateKey>(); in GetSigningKey() 117 return scoped_ptr<crypto::RSAPrivateKey>( in GetSigningKey() 118 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(raw_signing_key_)); in GetSigningKey() 121 void PolicyBuilder::SetSigningKey(const crypto::RSAPrivateKey& key) { in SetSigningKey() 134 scoped_ptr<crypto::RSAPrivateKey> PolicyBuilder::GetNewSigningKey() { in GetNewSigningKey() 136 return scoped_ptr<crypto::RSAPrivateKey>(); in GetNewSigningKey() 137 return scoped_ptr<crypto::RSAPrivateKey>( in GetNewSigningKey() 138 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(raw_new_signing_key_)); in GetNewSigningKey() 156 scoped_ptr<crypto::RSAPrivateKey> policy_signing_key = GetNewSigningKey(); in Build() [all …]
|
D | policy_builder.h | 59 scoped_ptr<crypto::RSAPrivateKey> GetSigningKey(); 60 void SetSigningKey(const crypto::RSAPrivateKey& key); 64 scoped_ptr<crypto::RSAPrivateKey> GetNewSigningKey(); 79 static scoped_ptr<crypto::RSAPrivateKey> CreateTestSigningKey(); 80 static scoped_ptr<crypto::RSAPrivateKey> CreateTestOtherSigningKey(); 85 crypto::RSAPrivateKey* key,
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_creator.h | 18 class RSAPrivateKey; variable 69 crypto::RSAPrivateKey* key_pair, 73 crypto::RSAPrivateKey* ReadInputKey(const base::FilePath& private_key_path); 77 crypto::RSAPrivateKey* GenerateKey(const base::FilePath& private_key_path); 85 crypto::RSAPrivateKey* private_key, 90 crypto::RSAPrivateKey* private_key,
|
/external/chromium/chrome/browser/extensions/ |
D | extension_creator.h | 15 class RSAPrivateKey; variable 48 crypto::RSAPrivateKey* ReadInputKey(const FilePath& private_key_path); 52 crypto::RSAPrivateKey* GenerateKey(const FilePath& private_key_path); 60 crypto::RSAPrivateKey* private_key, 65 crypto::RSAPrivateKey* private_key,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | RSAPrivateKey.java | 14 public class RSAPrivateKey class 28 public static RSAPrivateKey getInstance( in getInstance() 35 public static RSAPrivateKey getInstance( in getInstance() 38 if (obj instanceof RSAPrivateKey) in getInstance() 40 return (RSAPrivateKey)obj; in getInstance() 45 return new RSAPrivateKey(ASN1Sequence.getInstance(obj)); in getInstance() 51 public RSAPrivateKey( in RSAPrivateKey() method in RSAPrivateKey 72 private RSAPrivateKey( in RSAPrivateKey() method in RSAPrivateKey
|
/external/chromium_org/chrome/browser/devtools/adb/ |
D | android_rsa.h | 11 class RSAPrivateKey; variable 16 crypto::RSAPrivateKey* AndroidRSAPrivateKey(Profile* profile); 18 std::string AndroidRSAPublicKey(crypto::RSAPrivateKey* key); 20 std::string AndroidRSASign(crypto::RSAPrivateKey* key,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | BCRSAPrivateKey.java | 7 import java.security.interfaces.RSAPrivateKey; 22 implements RSAPrivateKey, PKCS12BagAttributeCarrier 52 RSAPrivateKey key) in BCRSAPrivateKey() 80 …iers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), … in getEncoded() 85 if (!(o instanceof RSAPrivateKey)) in equals() 95 RSAPrivateKey key = (RSAPrivateKey)o; in equals()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCERSAPrivateKey.java | 7 import java.security.interfaces.RSAPrivateKey; 22 implements RSAPrivateKey, PKCS12BagAttributeCarrier 52 RSAPrivateKey key) in JCERSAPrivateKey() 80 …iers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), … in getEncoded() 85 if (!(o instanceof RSAPrivateKey)) in equals() 95 RSAPrivateKey key = (RSAPrivateKey)o; in equals()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | owner_key_utils.cc | 51 crypto::RSAPrivateKey* key); 53 crypto::RSAPrivateKey* FindPrivateKey(const std::vector<uint8>& key); 60 bool ExportPublicKeyToFile(crypto::RSAPrivateKey* pair, 86 bool OwnerKeyUtilsImpl::ExportPublicKeyToFile(crypto::RSAPrivateKey* pair, in ExportPublicKeyToFile() 151 crypto::RSAPrivateKey* key) { in Sign() 161 crypto::RSAPrivateKey* OwnerKeyUtilsImpl::FindPrivateKey( in FindPrivateKey() 163 return crypto::RSAPrivateKey::FindFromPublicKeyInfo(key); in FindPrivateKey()
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
D | rsa_asn1.c | 82 ASN1_SEQUENCE_cb(RSAPrivateKey, rsa_cb) = { 92 } ASN1_SEQUENCE_END_cb(RSA, RSAPrivateKey) 109 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPrivateKey, RSAPrivateKey) 120 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPrivateKey), rsa); in RSAPrivateKey_dup()
|
/external/openssl/crypto/rsa/ |
D | rsa_asn1.c | 82 ASN1_SEQUENCE_cb(RSAPrivateKey, rsa_cb) = { 92 } ASN1_SEQUENCE_END_cb(RSA, RSAPrivateKey) 109 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPrivateKey, RSAPrivateKey) 120 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPrivateKey), rsa); in RSAPrivateKey_dup()
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | mock_owner_key_util.h | 24 virtual crypto::RSAPrivateKey* FindPrivateKey( 36 void SetPublicKeyFromPrivateKey(const crypto::RSAPrivateKey& key); 39 void SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key); 46 scoped_ptr<crypto::RSAPrivateKey> private_key_;
|