/external/libchrome/crypto/ |
D | rsa_private_key_nss.cc | 44 RSAPrivateKey::~RSAPrivateKey() { in ~RSAPrivateKey() 52 RSAPrivateKey* RSAPrivateKey::Create(uint16_t num_bits) { in Create() 68 RSAPrivateKey* rsa_key = new RSAPrivateKey; in Create() 75 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo( in CreateFromPrivateKeyInfo() 88 return RSAPrivateKey::CreateFromKey(key.get()); in CreateFromPrivateKeyInfo() 92 RSAPrivateKey* RSAPrivateKey::CreateFromKey(SECKEYPrivateKey* key) { in CreateFromKey() 96 RSAPrivateKey* copy = new RSAPrivateKey(); in CreateFromKey() 107 RSAPrivateKey* RSAPrivateKey::Copy() const { in Copy() 108 RSAPrivateKey* copy = new RSAPrivateKey(); in Copy() 114 bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8_t>* output) const { in ExportPrivateKey() [all …]
|
D | rsa_private_key_unittest.cc | 75 std::unique_ptr<crypto::RSAPrivateKey> keypair1( in TEST() 76 crypto::RSAPrivateKey::Create(1024)); in TEST() 77 std::unique_ptr<crypto::RSAPrivateKey> keypair2( in TEST() 78 crypto::RSAPrivateKey::Create(2048)); in TEST() 92 std::unique_ptr<crypto::RSAPrivateKey> keypair3( in TEST() 93 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); in TEST() 94 std::unique_ptr<crypto::RSAPrivateKey> keypair4( in TEST() 95 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); in TEST() 117 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST() 118 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); in TEST() [all …]
|
D | signature_creator_unittest.cc | 20 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST() 21 crypto::RSAPrivateKey::Create(1024)); in TEST() 26 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST() 27 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST() 57 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST() 58 crypto::RSAPrivateKey::Create(1024)); in TEST() 63 std::unique_ptr<crypto::RSAPrivateKey> key( in TEST() 64 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); in TEST() 91 std::unique_ptr<crypto::RSAPrivateKey> key_original( in TEST() 92 crypto::RSAPrivateKey::Create(1024)); in TEST() [all …]
|
D | rsa_private_key.h | 169 class CRYPTO_EXPORT RSAPrivateKey { 171 ~RSAPrivateKey(); 174 static RSAPrivateKey* Create(uint16_t num_bits); 179 static RSAPrivateKey* CreateFromPrivateKeyInfo( 186 static RSAPrivateKey* CreateFromKey(EVP_PKEY* key); 190 static RSAPrivateKey* CreateFromKey(SECKEYPrivateKey* key); 201 RSAPrivateKey* Copy() const; 211 RSAPrivateKey(); 220 DISALLOW_COPY_AND_ASSIGN(RSAPrivateKey);
|
D | signature_creator.h | 27 class RSAPrivateKey; variable 44 static std::unique_ptr<SignatureCreator> Create(RSAPrivateKey* key, 49 static bool Sign(RSAPrivateKey* key,
|
D | signature_creator_nss.cc | 51 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key, in Create() 70 bool SignatureCreator::Sign(RSAPrivateKey* key, in Sign()
|
/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() 58 BCRSAPrivateKey(org.bouncycastle.asn1.pkcs.RSAPrivateKey key) in BCRSAPrivateKey() 86 …iers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), … in getEncoded() 91 if (!(o instanceof RSAPrivateKey)) in equals() 101 RSAPrivateKey key = (RSAPrivateKey)o; in equals()
|
D | KeyFactorySpi.java | 19 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() 140 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in generatePrivate()
|
D | RSAUtil.java | 4 import java.security.interfaces.RSAPrivateKey; 49 RSAPrivateKey key) in generatePrivateKeyParameter() 61 RSAPrivateKey k = key; in generatePrivateKeyParameter()
|
D | BCRSAPrivateCrtKey.java | 11 import org.bouncycastle.asn1.pkcs.RSAPrivateKey; 94 this(RSAPrivateKey.getInstance(info.parsePrivateKey())); in BCRSAPrivateCrtKey() 101 RSAPrivateKey key) in BCRSAPrivateCrtKey() 131 …dentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), … in getEncoded()
|
D | CipherSpi.java | 11 import java.security.interfaces.RSAPrivateKey; 115 if (key instanceof RSAPrivateKey) in engineGetKeySize() 117 RSAPrivateKey k = (RSAPrivateKey)key; in engineGetKeySize() 285 else if (key instanceof RSAPrivateKey) in engineInit() 293 param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)key); in engineInit()
|
D | DigestSignatureSpi.java | 10 import java.security.interfaces.RSAPrivateKey; 93 if (!(privateKey instanceof RSAPrivateKey)) in engineInitSign() 98 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey); in engineInitSign()
|
/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/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLRSAKeyFactory.java | 26 import java.security.interfaces.RSAPrivateKey; 123 } else if (key instanceof RSAPrivateKey in engineGetKeySpec() 125 RSAPrivateKey rsaKey = (RSAPrivateKey) key; in engineGetKeySpec() 135 RSAPrivateKey privKey = in engineGetKeySpec() 136 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); in engineGetKeySpec() 153 RSAPrivateKey rsaKey = in engineGetKeySpec() 154 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); in engineGetKeySpec() 220 } else if (key instanceof RSAPrivateKey) { in engineTranslateKey() 221 RSAPrivateKey rsaKey = (RSAPrivateKey) key; in engineTranslateKey()
|
D | OpenSSLRSAPrivateKey.java | 27 import java.security.interfaces.RSAPrivateKey; 38 public class OpenSSLRSAPrivateKey implements RSAPrivateKey, OpenSSLKeyHolder { 101 protected static OpenSSLKey wrapPlatformKey(RSAPrivateKey rsaPrivateKey) in wrapPlatformKey() 132 static OpenSSLKey getInstance(RSAPrivateKey rsaPrivateKey) throws InvalidKeyException { in getInstance() 226 if (o instanceof RSAPrivateKey) { in equals() 228 RSAPrivateKey other = (RSAPrivateKey) o; in equals()
|
D | OpenSSLSignatureRawRSA.java | 26 import java.security.interfaces.RSAPrivateKey; 96 } else if (privateKey instanceof RSAPrivateKey) { in engineInitSign() 97 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey; in engineInitSign()
|
D | OpenSSLRSAPrivateCrtKey.java | 25 import java.security.interfaces.RSAPrivateKey; 230 } else if (o instanceof RSAPrivateKey) { in equals() 232 RSAPrivateKey other = (RSAPrivateKey) o; in equals()
|
D | OpenSSLKey.java | 25 import java.security.interfaces.RSAPrivateKey; 204 if (key instanceof RSAPrivateKey) { in wrapPrivateKey() 205 return OpenSSLRSAPrivateKey.wrapPlatformKey((RSAPrivateKey) key); in wrapPrivateKey()
|
D | OpenSSLCipherRSA.java | 29 import java.security.interfaces.RSAPrivateKey; 186 } else if (key instanceof RSAPrivateKey) { in engineInitInternal() 187 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) key; in engineInitInternal()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | RsaKeyTest.java | 24 import java.security.interfaces.RSAPrivateKey; 1429 private void checkPublicKey(RSAPublicKey pub, RSAPrivateKey priv) { in checkPublicKey() 1438 RSAPrivateKey priv = (RSAPrivateKey) keypair.getPrivate(); in checkKeyPair()
|
D | RsaSignatureTest.java | 27 import java.security.interfaces.RSAPrivateKey; 1087 RSAPrivateKey priv = (RSAPrivateKey) keyPair.getPrivate(); in testBasic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PrivateKeyFactory.java | 19 import org.bouncycastle.asn1.pkcs.RSAPrivateKey; 85 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
|
/external/boringssl/src/crypto/pem/ |
D | pem_all.c | 172 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, in IMPLEMENT_PEM_write_cb_const() argument 173 RSAPrivateKey) in IMPLEMENT_PEM_write_cb_const()
|
/external/boringssl/src/include/openssl/ |
D | pem.h | 444 DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
|
/external/robolectric/v1/lib/main/ |
D | android.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |