OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:privkey1
(Results
1 - 2
of
2
) sorted by null
/external/chromium/crypto/
rsa_private_key_unittest.cc
20
std::vector<uint8>
privkey1
;
local
25
ASSERT_TRUE(keypair1->ExportPrivateKey(&
privkey1
));
31
crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(
privkey1
));
42
ASSERT_EQ(
privkey1
.size(), privkey3.size());
44
ASSERT_TRUE(0 == memcmp(&
privkey1
.front(), &privkey3.front(),
45
privkey1
.size()));
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
NativeCryptoTest.java
188
RSAPrivateCrtKey
privKey1
= (RSAPrivateCrtKey) kp1.getPrivate();
195
pkey1 = NativeCrypto.EVP_PKEY_new_RSA(
privKey1
.getModulus().toByteArray(),
196
privKey1
.getPublicExponent().toByteArray(),
197
privKey1
.getPrivateExponent().toByteArray(),
198
privKey1
.getPrimeP().toByteArray(),
199
privKey1
.getPrimeQ().toByteArray(),
200
privKey1
.getPrimeExponentP().toByteArray(),
201
privKey1
.getPrimeExponentQ().toByteArray(),
202
privKey1
.getCrtCoefficient().toByteArray());
205
pkey1_copy = NativeCrypto.EVP_PKEY_new_RSA(
privKey1
.getModulus().toByteArray()
[
all
...]
Completed in 46 milliseconds