Home
last modified time | relevance | path

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

12

/external/chromium/base/crypto/
Drsa_private_key_nss.cc44 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create()
45 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create()
64 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo()
66 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo()
93 RSAPrivateKey::RSAPrivateKey() : key_(NULL), public_key_(NULL) { in RSAPrivateKey() function in base::RSAPrivateKey
97 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey()
104 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) { in ExportPrivateKey()
126 bool RSAPrivateKey::ExportPublicKey(std::vector<uint8>* output) { in ExportPublicKey()
Drsa_private_key_unittest.cc12 scoped_ptr<base::RSAPrivateKey> keypair1(base::RSAPrivateKey::Create(1024)); in TEST()
13 scoped_ptr<base::RSAPrivateKey> keypair2(base::RSAPrivateKey::Create(2048)); in TEST()
27 scoped_ptr<base::RSAPrivateKey> keypair3( in TEST()
28 base::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST()
29 scoped_ptr<base::RSAPrivateKey> keypair4( in TEST()
30 base::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST()
162 scoped_ptr<base::RSAPrivateKey> key( in TEST()
163 base::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST()
365 scoped_ptr<base::RSAPrivateKey> keypair1( in TEST()
366 base::RSAPrivateKey::CreateFromPrivateKeyInfo(input1)); in TEST()
[all …]
Drsa_private_key_mac.cc16 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create()
17 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create()
52 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo()
57 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo()
106 RSAPrivateKey::RSAPrivateKey() : csp_handle_(0) { in RSAPrivateKey() function in base::RSAPrivateKey
119 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey()
129 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) { in ExportPrivateKey()
139 bool RSAPrivateKey::ExportPublicKey(std::vector<uint8>* output) { in ExportPublicKey()
Drsa_private_key_win.cc26 RSAPrivateKey* RSAPrivateKey::Create(uint16 num_bits) { in Create()
27 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in Create()
42 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo()
44 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey); in CreateFromPrivateKeyInfo()
106 RSAPrivateKey::RSAPrivateKey() : provider_(NULL), key_(NULL) {} in RSAPrivateKey() function in base::RSAPrivateKey
108 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey()
120 bool RSAPrivateKey::InitProvider() { in InitProvider()
125 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8>* output) { in ExportPrivateKey()
179 bool RSAPrivateKey::ExportPublicKey(std::vector<uint8>* output) { in ExportPublicKey()
Drsa_private_key.h158 class RSAPrivateKey {
161 static RSAPrivateKey* Create(uint16 num_bits);
166 static RSAPrivateKey* CreateFromPrivateKeyInfo(
169 ~RSAPrivateKey();
190 RSAPrivateKey();
205 DISALLOW_COPY_AND_ASSIGN(RSAPrivateKey);
Dsignature_creator_unittest.cc14 scoped_ptr<base::RSAPrivateKey> key_original( in TEST()
15 base::RSAPrivateKey::Create(1024)); in TEST()
20 scoped_ptr<base::RSAPrivateKey> key( in TEST()
21 base::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST()
Dsignature_creator.h33 static SignatureCreator* Create(RSAPrivateKey* key);
47 RSAPrivateKey* key_;
Dsignature_creator_win.cc13 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key) { in Create()
Dsignature_creator_nss.cc18 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key) { in Create()
Dsignature_creator_mac.cc16 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key) { in Create()
/external/openssl/crypto/rsa/
Drsa_asn1.c81 ASN1_SEQUENCE_cb(RSAPrivateKey, rsa_cb) = {
91 } ASN1_SEQUENCE_END_cb(RSA, RSAPrivateKey)
99 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPrivateKey, RSAPrivateKey)
110 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPrivateKey), rsa); in RSAPrivateKey_dup()
Drsa.h301 DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJCERSAPrivateKey.java17 import java.security.interfaces.RSAPrivateKey;
22 implements RSAPrivateKey, PKCS12BagAttributeCarrier
52 RSAPrivateKey key) in JCERSAPrivateKey()
89 if (!(o instanceof RSAPrivateKey)) in equals()
99 RSAPrivateKey key = (RSAPrivateKey)o; in equals()
DRSAUtil.java4 import java.security.interfaces.RSAPrivateKey;
36 RSAPrivateKey key) in generatePrivateKeyParameter()
48 RSAPrivateKey k = key; in generatePrivateKeyParameter()
DJDKKeyFactory.java12 import java.security.interfaces.RSAPrivateKey;
118 else if (spec.isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof RSAPrivateKey) in engineGetKeySpec()
120 RSAPrivateKey k = (RSAPrivateKey)key; in engineGetKeySpec()
163 else if (key instanceof RSAPrivateKey) in engineTranslateKey()
165 return new JCERSAPrivateKey((RSAPrivateKey)key); in engineTranslateKey()
DJCERSACipher.java29 import java.security.interfaces.RSAPrivateKey;
109 if (key instanceof RSAPrivateKey) in engineGetKeySize()
111 RSAPrivateKey k = (RSAPrivateKey)key; in engineGetKeySize()
259 else if (key instanceof RSAPrivateKey) in engineInit()
267 param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)key); in engineInit()
DJDKDigestSignature.java10 import java.security.interfaces.RSAPrivateKey;
94 if (!(privateKey instanceof RSAPrivateKey)) in engineInitSign()
99 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey); in engineInitSign()
/external/chromium/net/third_party/nss/ssl/bodge/
Dblapi.h68 extern RSAPrivateKey *RSA_NewKey(int keySizeInBits,
83 extern SECStatus RSA_PrivateKeyOp(RSAPrivateKey * key,
92 extern SECStatus RSA_PrivateKeyOpDoubleChecked(RSAPrivateKey * key,
99 extern SECStatus RSA_PrivateKeyCheck(RSAPrivateKey *key);
Dloader.h54 RSAPrivateKey * (* p_RSA_NewKey)(int keySizeInBits,
61 SECStatus (* p_RSA_PrivateKeyOp)(RSAPrivateKey * key,
262 SECStatus (* p_RSA_PrivateKeyOpDoubleChecked)(RSAPrivateKey *key,
266 SECStatus (* p_RSA_PrivateKeyCheck)(RSAPrivateKey *key);
Dloader.c209 RSAPrivateKey *
228 RSA_PrivateKeyOp(RSAPrivateKey * key, in RSA_PrivateKeyOp()
238 RSA_PrivateKeyOpDoubleChecked(RSAPrivateKey *key, in RSA_PrivateKeyOpDoubleChecked()
248 RSA_PrivateKeyCheck(RSAPrivateKey *key) in RSA_PrivateKeyCheck()
/external/openssl/crypto/pem/
Dpem_all.c196 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
/external/openssl/crypto/x509/
Dx_all.c209 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa); in d2i_RSAPrivateKey_fp()
214 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa); in i2d_RSAPrivateKey_fp()
243 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(RSAPrivateKey), bp, rsa); in d2i_RSAPrivateKey_bio()
248 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(RSAPrivateKey), bp, rsa); in i2d_RSAPrivateKey_bio()
/external/bouncycastle/src/main/java/org/bouncycastle/openssl/
DPEMWriter.java19 import java.security.interfaces.RSAPrivateKey;
141 if (o instanceof RSAPrivateKey) in writeObject()
/external/dropbear/libtomcrypt/notes/
Dtech0006.txt10 Key Format: RSAPublicKey and RSAPrivateKey as per PKCS #1 v2.1
/external/openssl/include/openssl/
Drsa.h301 DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey)

12