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

1 2

  /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/conscrypt/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 27 import java.security.interfaces.RSAPublicKey;
108 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey;
109 key = rsaPublicKey.getOpenSSLKey();
110 } else if (publicKey instanceof RSAPublicKey) {
111 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
112 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
OpenSSLCipherRSA.java 30 import java.security.interfaces.RSAPublicKey;
176 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) key;
178 this.key = rsaPublicKey.getOpenSSLKey();
179 } else if (key instanceof RSAPublicKey) {
180 RSAPublicKey rsaPublicKey = (RSAPublicKey) key;
182 this.key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
  /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
50 key.getSerVerUID(), //RSAPublicKey.serialVersionUID
54 public class checkRSAPublicKey implements RSAPublicKey {
56 return "RSAPublicKey";
  /bootable/recovery/
verifier.h 36 RSAPublicKey* rsa;
verifier.cpp 297 // DumpPublicKey: this is an RSAPublicKey struct as it would appear
315 // A Certificate is a pair of an RSAPublicKey and a particular hash
351 cert->rsa = (RSAPublicKey*)malloc(sizeof(RSAPublicKey));
360 cert->rsa = (RSAPublicKey*)malloc(sizeof(RSAPublicKey));
366 cert->rsa = (RSAPublicKey*)malloc(sizeof(RSAPublicKey));
372 cert->rsa = (RSAPublicKey*)malloc(sizeof(RSAPublicKey));
    [all...]
verifier_test.cpp 33 RSAPublicKey test_key =
70 RSAPublicKey test_f4_key =
  /external/chromium_org/third_party/boringssl/src/crypto/rsa/
rsa_asn1.c 93 ASN1_SEQUENCE_cb(RSAPublicKey, rsa_cb) = {
96 } ASN1_SEQUENCE_END_cb(RSA, RSAPublicKey);
117 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(RSA, RSAPublicKey, RSAPublicKey);
120 return ASN1_item_dup(ASN1_ITEM_rptr(RSAPublicKey), (RSA *) 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/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java 8 import java.security.interfaces.RSAPublicKey;
19 implements RSAPublicKey
46 RSAPublicKey key)
63 org.bouncycastle.asn1.pkcs.RSAPublicKey pubKey = org.bouncycastle.asn1.pkcs.RSAPublicKey.getInstance(info.parsePublicKey());
107 return KeyUtil.getEncodedSubjectPublicKeyInfo(algorithmIdentifier, new org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), getPublicExponent()));
122 if (!(o instanceof RSAPublicKey))
127 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)
CipherSpi.java 12 import java.security.interfaces.RSAPublicKey;
117 else if (key instanceof RSAPublicKey)
119 RSAPublicKey k = (RSAPublicKey)key;
253 if (key instanceof RSAPublicKey)
261 param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)key);
268 "mode 2 requires RSAPublicKey");
DigestSignatureSpi.java 11 import java.security.interfaces.RSAPublicKey;
80 if (!(publicKey instanceof RSAPublicKey))
82 throw new InvalidKeyException("Supplied key (" + getType(publicKey) + ") is not a RSAPublicKey instance");
85 CipherParameters param = RSAUtil.generatePublicKeyParameter((RSAPublicKey)publicKey);
  /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;
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
PoloChallengeResponse.java 25 import java.security.interfaces.RSAPublicKey;
89 if (!(clientPubKey instanceof RSAPublicKey) ||
90 !(serverPubKey instanceof RSAPublicKey)) {
94 RSAPublicKey clientPubRsa = (RSAPublicKey) clientPubKey;
95 RSAPublicKey serverPubRsa = (RSAPublicKey) serverPubKey;
  /external/chromium_org/third_party/boringssl/src/crypto/pem/
pem_all.c 178 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 21 import org.bouncycastle.asn1.pkcs.RSAPublicKey;
92 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey());
  /external/chromium_org/chrome/browser/devtools/device/usb/
android_rsa.cc 29 typedef struct RSAPublicKey {
35 } RSAPublicKey;
233 RSAPublicKey pkey;
  /external/chromium_org/third_party/boringssl/src/crypto/x509/
x_all.c 250 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
262 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
283 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(RSAPublicKey), bp, rsa);
294 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(RSAPublicKey), bp, rsa);
  /external/openssl/crypto/x509/
x_all.c 241 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
254 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
275 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(RSAPublicKey), bp, rsa);
286 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(RSAPublicKey), bp, rsa);
  /external/openssl/crypto/pem/
pem_all.c 251 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey)

Completed in 316 milliseconds

1 2