Home
last modified time | relevance | path

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

/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()
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()
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()
140 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in generatePrivate()
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()
DCipherSpi.java11 import java.security.interfaces.RSAPrivateKey;
115 if (key instanceof RSAPrivateKey) in engineGetKeySize()
117 RSAPrivateKey k = (RSAPrivateKey)key; in engineGetKeySize()
267 else if (key instanceof RSAPrivateKey) in engineInit()
275 param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)key); in engineInit()
DDigestSignatureSpi.java10 import java.security.interfaces.RSAPrivateKey;
96 if (!(privateKey instanceof RSAPrivateKey)) in engineInitSign()
101 CipherParameters param = RSAUtil.generatePrivateKeyParameter((RSAPrivateKey)privateKey); in engineInitSign()
/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/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRSAKeyFactory.java26 import java.security.interfaces.RSAPrivateKey;
108 } else if (key instanceof RSAPrivateKey in engineGetKeySpec()
110 RSAPrivateKey rsaKey = (RSAPrivateKey) key; in engineGetKeySpec()
118 RSAPrivateKey privKey = in engineGetKeySpec()
119 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); in engineGetKeySpec()
134 RSAPrivateKey rsaKey = in engineGetKeySpec()
135 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); in engineGetKeySpec()
197 } else if (key instanceof RSAPrivateKey) { in engineTranslateKey()
198 RSAPrivateKey rsaKey = (RSAPrivateKey) key; in engineTranslateKey()
DOpenSSLRSAPrivateKey.java28 import java.security.interfaces.RSAPrivateKey;
32 public class OpenSSLRSAPrivateKey implements RSAPrivateKey, OpenSSLKeyHolder {
95 protected static OpenSSLKey wrapPlatformKey(RSAPrivateKey rsaPrivateKey) in wrapPlatformKey()
126 static OpenSSLKey getInstance(RSAPrivateKey rsaPrivateKey) throws InvalidKeyException { in getInstance()
242 if (o instanceof RSAPrivateKey) { in equals()
244 RSAPrivateKey other = (RSAPrivateKey) o; in equals()
DOpenSSLSignatureRawRSA.java26 import java.security.interfaces.RSAPrivateKey;
92 } else if (privateKey instanceof RSAPrivateKey) { in engineInitSign()
93 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey; in engineInitSign()
DOpenSSLCipherRSA.java29 import java.security.interfaces.RSAPrivateKey;
171 } else if (key instanceof RSAPrivateKey) { in engineInitInternal()
172 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) key; in engineInitInternal()
DOpenSSLRSAPrivateCrtKey.java26 import java.security.interfaces.RSAPrivateKey;
229 } else if (o instanceof RSAPrivateKey) { in equals()
231 RSAPrivateKey other = (RSAPrivateKey) o; in equals()
DOpenSSLKey.java24 import java.security.interfaces.RSAPrivateKey;
201 if (key instanceof RSAPrivateKey) { in wrapPrivateKey()
202 return OpenSSLRSAPrivateKey.wrapPlatformKey((RSAPrivateKey) key); in wrapPrivateKey()
/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/boringssl/src/crypto/rsa/
Drsa_asn1.c81 ASN1_SEQUENCE_cb(RSAPrivateKey, rsa_cb) = {
91 } ASN1_SEQUENCE_END_cb(RSA, RSAPrivateKey);
115 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPrivateKey, RSAPrivateKey);
124 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPrivateKey), (RSA *) rsa); in RSAPrivateKey_dup()
/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 {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java19 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
85 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
/external/boringssl/src/crypto/pem/
Dpem_all.c176 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
/external/boringssl/src/crypto/x509/
Dx_all.c242 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa); in d2i_RSAPrivateKey_fp()
247 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa); in i2d_RSAPrivateKey_fp()
275 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(RSAPrivateKey), bp, rsa); in d2i_RSAPrivateKey_bio()
280 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(RSAPrivateKey), bp, rsa); in i2d_RSAPrivateKey_bio()
/external/boringssl/src/include/openssl/
Dpem.h442 DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...