HomeSort by relevance Sort by last modified time
    Searched refs:RSAPublicKey (Results 1 - 25 of 70) sorted by null

1 2 3

  /system/core/include/mincrypt/
rsa.h 40 typedef struct RSAPublicKey {
46 } RSAPublicKey;
48 int RSA_verify(const RSAPublicKey *key,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
RSAPublicKey.java 14 public class RSAPublicKey
20 public static RSAPublicKey getInstance(
27 public static RSAPublicKey getInstance(
30 if (obj instanceof RSAPublicKey)
32 return (RSAPublicKey)obj;
37 return new RSAPublicKey(ASN1Sequence.getInstance(obj));
43 public RSAPublicKey(
51 private RSAPublicKey(
79 * RSAPublicKey ::= SEQUENCE {
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
RSAPublicKey.java 10 * RSAPublicKey.
15 public class RSAPublicKey
20 public RSAPublicKey(BigInteger e, BigInteger n)
RSAPrivateKey.java 43 public RSAPublicKey getPublicKey()
45 return new RSAPublicKey(e, n);
RSASHA1Verify.java 26 public static RSAPublicKey decodeSSHRSAPublicKey(byte[] key) throws IOException
41 return new RSAPublicKey(e, n);
44 public static byte[] encodeSSHRSAPublicKey(RSAPublicKey pk) throws IOException
146 public static boolean verifySignature(byte[] message, RSASignature ds, RSAPublicKey dpk) throws IOException
  /libcore/luni/src/test/java/tests/security/interfaces/
RSAPublicKeyTest.java 22 import java.security.interfaces.RSAPublicKey;
28 * java.security.interfaces.RSAPublicKey
35 RSAPublicKey key = (RSAPublicKey) gen.generatePublic(new RSAPublicKeySpec(
  /bootable/recovery/
verifier.h 24 RSAPublicKey* public_key;
  /libcore/luni/src/main/java/java/security/interfaces/
RSAPublicKey.java 26 public interface RSAPublicKey extends PublicKey, RSAKey {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java 5 import java.security.interfaces.RSAPublicKey;
16 implements RSAPublicKey
38 RSAPublicKey key)
49 org.bouncycastle.asn1.pkcs.RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInstance(info.parsePublicKey());
92 return KeyUtil.getEncodedSubjectPublicKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), getPublicExponent()));
107 if (!(o instanceof RSAPublicKey))
112 RSAPublicKey key = (RSAPublicKey)o;
KeyFactorySpi.java 9 import java.security.interfaces.RSAPublicKey;
36 if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey)
38 RSAPublicKey k = (RSAPublicKey)key;
67 if (key instanceof RSAPublicKey)
69 return new BCRSAPublicKey((RSAPublicKey)key);
RSAUtil.java 5 import java.security.interfaces.RSAPublicKey;
42 RSAPublicKey key)
  /libcore/crypto/src/main/java/org/conscrypt/
ChainStrengthAnalyzer.java 21 import java.security.interfaces.RSAPublicKey;
41 if (pubkey instanceof RSAPublicKey) {
42 int modulusLength = ((RSAPublicKey) pubkey).getModulus().bitLength();
OpenSSLRSAPublicKey.java 24 import java.security.interfaces.RSAPublicKey;
28 public class OpenSSLRSAPublicKey implements RSAPublicKey, OpenSSLKeyHolder {
64 static OpenSSLKey getInstance(RSAPublicKey rsaPublicKey) throws InvalidKeyException {
67 rsaPublicKey.getModulus().toByteArray(),
68 rsaPublicKey.getPublicExponent().toByteArray(),
137 if (!(o instanceof RSAPublicKey)) {
143 RSAPublicKey other = (RSAPublicKey) o;
OpenSSLRSAKeyFactory.java 27 import java.security.interfaces.RSAPublicKey;
86 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) {
87 RSAPublicKey rsaKey = (RSAPublicKey) key;
94 RSAPublicKey rsaKey =
95 (RSAPublicKey) engineGeneratePublic(new X509EncodedKeySpec(encoded));
170 } else if (key instanceof RSAPublicKey) {
171 RSAPublicKey rsaKey = (RSAPublicKey) key;
OpenSSLSignatureRawRSA.java 28 import java.security.interfaces.RSAPublicKey;
116 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey;
117 key = rsaPublicKey.getOpenSSLKey();
118 } else if (publicKey instanceof RSAPublicKey) {
119 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
120 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
OpenSSLSignature.java 32 import java.security.interfaces.RSAPublicKey;
196 } else if (publicKey instanceof RSAPublicKey) {
201 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
202 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
ServerKeyExchange.java 23 import java.security.interfaces.RSAPublicKey;
50 private RSAPublicKey key;
217 * Returns RSAPublicKey generated using ServerRSAParams
222 public RSAPublicKey getRSAPublicKey() {
228 key = (RSAPublicKey) kf.generatePublic(new RSAPublicKeySpec(par1,
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
RSAPublicKeyTest.java 26 import java.security.interfaces.RSAPublicKey;
31 * Tests for <code>RSAPublicKey</code> class field
51 key.getSerVerUID(), //RSAPublicKey.serialVersionUID
55 public class checkRSAPublicKey implements RSAPublicKey {
57 return "RSAPublicKey";
  /external/chromium_org/third_party/openssl/openssl/crypto/rsa/
rsa_asn1.c 95 ASN1_SEQUENCE_cb(RSAPublicKey, rsa_cb) = {
98 } ASN1_SEQUENCE_END_cb(RSA, RSAPublicKey)
111 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPublicKey, RSAPublicKey)
115 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), rsa);
  /external/openssl/crypto/rsa/
rsa_asn1.c 95 ASN1_SEQUENCE_cb(RSAPublicKey, rsa_cb) = {
98 } ASN1_SEQUENCE_END_cb(RSA, RSAPublicKey)
111 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPublicKey, RSAPublicKey)
115 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), rsa);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCERSAPublicKey.java 5 import java.security.interfaces.RSAPublicKey;
18 implements RSAPublicKey
40 RSAPublicKey key)
109 if (!(o instanceof RSAPublicKey))
114 RSAPublicKey key = (RSAPublicKey)o;
  /system/core/libmincrypt/tools/
DumpPublicKey.java 26 import java.security.interfaces.RSAPublicKey;
44 static int check(RSAPublicKey key, boolean useSHA256) throws Exception {
72 static String print(RSAPublicKey key, boolean useSHA256) throws Exception {
158 RSAPublicKey key = (RSAPublicKey) (cert.getPublicKey());
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/
SubjectPublicKeyInfoTest.java 36 import java.security.interfaces.RSAPublicKey;
51 final RSAPublicKey rsaPubKey = (RSAPublicKey) pair.getPublic();
71 assertTrue(pubKey instanceof RSAPublicKey);
  /system/core/libmincrypt/
rsa.c 33 static void subM(const RSAPublicKey* key,
45 static int geM(const RSAPublicKey* key,
57 static void montMulAdd(const RSAPublicKey* key,
82 static void montMul(const RSAPublicKey* key,
97 static void modpow(const RSAPublicKey* key,
249 int RSA_verify(const RSAPublicKey *key,
  /system/core/fs_mgr/
fs_mgr_verity.c 50 static RSAPublicKey *load_key(char *path)
53 RSAPublicKey *key;
55 key = malloc(sizeof(RSAPublicKey));
89 RSAPublicKey *key;

Completed in 6074 milliseconds

1 2 3