Home
last modified time | relevance | path

Searched refs:RSAPrivateKey (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium/crypto/
Drsa_private_key_openssl.cc51 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 …]
Drsa_private_key_nss.cc44 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 …]
Drsa_private_key_mac.cc16 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 …]
Drsa_private_key_win.cc25 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 …]
Drsa_private_key_unittest.cc13 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 …]
Drsa_private_key_nss_unittest.cc33 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()
Drsa_private_key.h173 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 …]
Dsignature_creator_unittest.cc14 scoped_ptr<crypto::RSAPrivateKey> key_original( in TEST()
15 crypto::RSAPrivateKey::Create(1024)); in TEST()
20 scoped_ptr<crypto::RSAPrivateKey> key( in TEST()
21 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAPrivateKey.java14 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/chrome/browser/extensions/
Dextension_creator.h15 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,
Dextension_creator.cc77 crypto::RSAPrivateKey* ExtensionCreator::ReadInputKey(const FilePath& in ReadInputKey()
101 return crypto::RSAPrivateKey::CreateFromPrivateKeyInfo( in ReadInputKey()
105 crypto::RSAPrivateKey* ExtensionCreator::GenerateKey(const FilePath& in GenerateKey()
107 scoped_ptr<crypto::RSAPrivateKey> key_pair( in GenerateKey()
108 crypto::RSAPrivateKey::Create(kRSAKeySize)); in GenerateKey()
166 crypto::RSAPrivateKey* private_key, in SignZip()
189 crypto::RSAPrivateKey* private_key, in WriteCRX()
249 scoped_ptr<crypto::RSAPrivateKey> key_pair; in Run()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateKey.java7 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()
DKeyFactorySpi.java19 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
42 …isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof java.security.interfaces.RSAPrivateKey) in engineGetKeySpec()
44 java.security.interfaces.RSAPrivateKey k = (java.security.interfaces.RSAPrivateKey)key; in engineGetKeySpec()
75 else if (key instanceof java.security.interfaces.RSAPrivateKey) in engineTranslateKey()
77 return new BCRSAPrivateKey((java.security.interfaces.RSAPrivateKey)key); in engineTranslateKey()
101 RSAPrivateKey.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate()
DRSAUtil.java4 import java.security.interfaces.RSAPrivateKey;
49 RSAPrivateKey key) in generatePrivateKeyParameter()
61 RSAPrivateKey k = key; in generatePrivateKeyParameter()
DBCRSAPrivateCrtKey.java11 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
93 this(RSAPrivateKey.getInstance(info.parsePrivateKey())); in BCRSAPrivateCrtKey()
100 RSAPrivateKey key) in BCRSAPrivateCrtKey()
130 …dentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), … in getEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCERSAPrivateKey.java7 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()
DJCERSAPrivateCrtKey.java11 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
93 this(org.bouncycastle.asn1.pkcs.RSAPrivateKey.getInstance(info.parsePrivateKey())); in JCERSAPrivateCrtKey()
100 RSAPrivateKey key) in JCERSAPrivateCrtKey()
130 …dentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), … in getEncoded()
/external/chromium/chrome/browser/chromeos/login/
Downer_key_utils.cc51 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()
Downer_key_utils.h19 class RSAPrivateKey; variable
63 crypto::RSAPrivateKey* key) = 0;
68 virtual crypto::RSAPrivateKey* FindPrivateKey(
79 virtual bool ExportPublicKeyToFile(crypto::RSAPrivateKey* pair,
Dmock_owner_key_utils.h32 crypto::RSAPrivateKey* key));
34 crypto::RSAPrivateKey*(const std::vector<uint8>& key));
36 MOCK_METHOD2(ExportPublicKeyToFile, bool(crypto::RSAPrivateKey* pair,
Downer_key_utils_unittest.cc42 scoped_ptr<crypto::RSAPrivateKey> pair( in TEST_F()
43 crypto::RSAPrivateKey::CreateSensitive(kKeySizeInBits)); in TEST_F()
44 ASSERT_NE(pair.get(), reinterpret_cast<crypto::RSAPrivateKey*>(NULL)); in TEST_F()
/external/openssl/crypto/rsa/
Drsa_asn1.c82 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/net/socket/
Dssl_server_socket.h13 class RSAPrivateKey; variable
48 Socket* socket, X509Certificate* certificate, crypto::RSAPrivateKey* key,
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
DRSAPrivateKey.java15 public class RSAPrivateKey class
21 public RSAPrivateKey(BigInteger d, BigInteger e, BigInteger n) in RSAPrivateKey() method in RSAPrivateKey
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
DRSAPrivateKeyTest.java26 import java.security.interfaces.RSAPrivateKey;
54 public class checkRSAPrivateKey implements RSAPrivateKey {

123