HomeSort by relevance Sort by last modified time
    Searched full:rsapublickey (Results 1 - 25 of 48) sorted by null

1 2

  /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(
  /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/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCERSAPublicKey.java 13 import java.security.interfaces.RSAPublicKey;
17 implements RSAPublicKey
39 RSAPublicKey key)
112 if (!(o instanceof RSAPublicKey))
117 RSAPublicKey key = (RSAPublicKey)o;
RSAUtil.java 5 import java.security.interfaces.RSAPublicKey;
29 RSAPublicKey key)
JCERSACipher.java 12 import java.security.interfaces.RSAPublicKey;
116 else if (key instanceof RSAPublicKey)
118 RSAPublicKey k = (RSAPublicKey)key;
250 if (key instanceof RSAPublicKey)
258 param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)key);
265 "mode 2 requires RSAPublicKey");
JDKKeyFactory.java 13 import java.security.interfaces.RSAPublicKey;
112 else if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey)
114 RSAPublicKey k = (RSAPublicKey)key;
169 if (key instanceof RSAPublicKey)
171 return new JCERSAPublicKey((RSAPublicKey)key);
JDKDigestSignature.java 11 import java.security.interfaces.RSAPublicKey;
79 if (!(publicKey instanceof RSAPublicKey))
81 throw new InvalidKeyException("Supplied key (" + getType(publicKey) + ") is not a RSAPublicKey instance");
84 CipherParameters param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)publicKey);
  /bootable/bootloader/legacy/libc/
rsa.h 41 typedef struct RSAPublicKey {
46 } RSAPublicKey;
48 int RSA_verify(RSAPublicKey *key,
rsa.c 33 static void subM(RSAPublicKey *key, uint32_t *a) {
44 static int geM(RSAPublicKey *key, const uint32_t *a) {
55 static void montMulAdd(RSAPublicKey *key,
80 static void montMul(RSAPublicKey *key,
96 static void modpow3(RSAPublicKey *key,
163 int RSA_verify(RSAPublicKey *key,
  /system/core/include/mincrypt/
rsa.h 40 typedef struct RSAPublicKey {
45 } RSAPublicKey;
47 int RSA_verify(const RSAPublicKey *key,
  /system/core/libmincrypt/tools/
DumpPublicKey.java 26 import java.security.interfaces.RSAPublicKey;
39 static void check(RSAPublicKey key) throws Exception {
56 static String print(RSAPublicKey key) throws Exception {
119 RSAPublicKey key = (RSAPublicKey) (cert.getPublicKey());
  /bootable/recovery/
verifier.h 25 int verify_file(const char* path, const RSAPublicKey *pKeys, unsigned int numKeys);
install.c 165 // DumpPublicKey: this is an RSAPublicKey struct as it would appear
178 static RSAPublicKey*
180 RSAPublicKey* out = NULL;
193 out = realloc(out, *numKeys * sizeof(RSAPublicKey));
194 RSAPublicKey* key = out + (*numKeys - 1);
254 RSAPublicKey* loadedKeys = load_keys(PUBLIC_KEYS_FILE, &numKeys);
verifier_test.c 25 RSAPublicKey test_key =
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSignature.java 28 import java.security.interfaces.RSAPublicKey;
187 } else if (publicKey instanceof RSAPublicKey) {
189 RSAPublicKey rsaPublicKey = (RSAPublicKey)publicKey;
190 rsa = NativeCrypto.EVP_PKEY_new_RSA(rsaPublicKey.getModulus().toByteArray(),
191 rsaPublicKey.getPublicExponent().toByteArray(), null, null, null);
ServerKeyExchange.java 23 import java.security.interfaces.RSAPublicKey;
50 private RSAPublicKey key;
163 * Returns RSAPublicKey generated using ServerRSAParams
168 public RSAPublicKey getRSAPublicKey() {
174 key = (RSAPublicKey) kf.generatePublic(new RSAPublicKeySpec(par1,
ServerHandshakeImpl.java 32 import java.security.interfaces.RSAPublicKey;
462 RSAPublicKey rsakey = null;
501 rsakey = (RSAPublicKey) kp.getPublic();
  /external/openssl/crypto/rsa/
rsa_asn1.c 94 ASN1_SEQUENCE_cb(RSAPublicKey, rsa_cb) = {
97 } ASN1_SEQUENCE_END_cb(RSA, RSAPublicKey)
101 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPublicKey, RSAPublicKey)
105 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), rsa);
  /libcore/luni/src/main/java/java/security/interfaces/
RSAPublicKey.java 26 public interface RSAPublicKey extends PublicKey, RSAKey {
  /system/core/libmincrypt/
rsa.c 32 static void subM(const RSAPublicKey *key, uint32_t *a) {
43 static int geM(const RSAPublicKey *key, const uint32_t *a) {
54 static void montMulAdd(const RSAPublicKey *key,
79 static void montMul(const RSAPublicKey *key,
95 static void modpow3(const RSAPublicKey *key,
162 int RSA_verify(const RSAPublicKey *key,
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/
RSAPublicKeyStructure.java 79 * RSAPublicKey ::= SEQUENCE {
  /external/dropbear/libtomcrypt/src/pk/rsa/
rsa_export.c 21 This will export either an RSAPublicKey or RSAPrivateKey [defined in PKCS #1 v2.1]
rsa_import.c 21 Import an RSAPublicKey or RSAPrivateKey [two-prime only, only support >= 1024-bit keys, defined in PKCS #1 v2.1]
57 /* the actual format of the SSL DER key is odd, it stores a RSAPublicKey in a **BIT** string ... so we have to extract it
  /external/openssl/crypto/x509/
x_all.c 220 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
233 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
254 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(RSAPublicKey), bp, rsa);
265 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(RSAPublicKey), bp, rsa);
  /external/dropbear/libtomcrypt/notes/
tech0006.txt 10 Key Format: RSAPublicKey and RSAPrivateKey as per PKCS #1 v2.1

Completed in 667 milliseconds

1 2