Home
last modified time | relevance | path

Searched refs:publicExponent (Results 1 – 16 of 16) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRSAPrivateCrtKey.java33 private BigInteger publicExponent; field in OpenSSLRSAPrivateCrtKey
74 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init() local
83 publicExponent == null ? null : publicExponent.toByteArray(), in init()
120 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance() local
129 publicExponent == null ? null : publicExponent.toByteArray(), in getInstance()
146 publicExponent = new BigInteger(params[1]); in readParams()
169 return publicExponent; in getPublicExponent()
219 && publicExponent.equals(other.getPublicExponent()); in equals()
222 && publicExponent.equals(other.getPublicExponent()) in equals()
247 if (publicExponent != null) { in hashCode()
[all …]
DOpenSSLRSAKeyPairGenerator.java33 private byte[] publicExponent = new byte[] { field in OpenSSLRSAKeyPairGenerator
45 publicExponent)); in generateKeyPair()
67 final BigInteger publicExponent = spec.getPublicExponent(); in initialize() local
68 if (publicExponent != null) { in initialize()
69 this.publicExponent = publicExponent.toByteArray(); in initialize()
DOpenSSLRSAPublicKey.java33 private BigInteger publicExponent; field in OpenSSLRSAPublicKey
102 publicExponent = new BigInteger(params[1]); in ensureReadParams()
116 return publicExponent; in getPublicExponent()
145 && publicExponent.equals(other.getPublicExponent()); in equals()
152 return modulus.hashCode() ^ publicExponent.hashCode(); in hashCode()
164 sb.append(publicExponent.toString(16)); in toString()
175 publicExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java182 BigInteger publicExponent = rsaKey.getPublicExponent(); in engineTranslateKey() local
191 return engineGeneratePrivate(new RSAPrivateCrtKeySpec(modulus, publicExponent, in engineTranslateKey()
DNativeCrypto.java114 public static native long RSA_generate_key_ex(int modulusBits, byte[] publicExponent); in RSA_generate_key_ex() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java11 private BigInteger publicExponent; field in RSAKeyGenerationParameters
15 BigInteger publicExponent, in RSAKeyGenerationParameters() argument
30 if (!publicExponent.testBit(0)) in RSAKeyGenerationParameters()
35 this.publicExponent = publicExponent; in RSAKeyGenerationParameters()
41 return publicExponent; in getPublicExponent()
DRSAPrivateCrtKeyParameters.java20 BigInteger publicExponent, in RSAPrivateCrtKeyParameters() argument
30 this.e = publicExponent; in RSAPrivateCrtKeyParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAPublicKey.java18 private BigInteger publicExponent; field in RSAPublicKey
45 BigInteger publicExponent) in RSAPublicKey() argument
48 this.publicExponent = publicExponent; in RSAPublicKey()
63 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); in RSAPublicKey()
73 return publicExponent; in getPublicExponent()
DRSAPrivateKeyStructure.java22 private BigInteger publicExponent; field in RSAPrivateKeyStructure
55 BigInteger publicExponent, in RSAPrivateKeyStructure() argument
65 this.publicExponent = publicExponent; in RSAPrivateKeyStructure()
87 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
113 return publicExponent; in getPublicExponent()
DRSAPrivateKey.java19 private BigInteger publicExponent; field in RSAPrivateKey
53 BigInteger publicExponent, in RSAPrivateKey() argument
63 this.publicExponent = publicExponent; in RSAPrivateKey()
85 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
111 return publicExponent; in getPublicExponent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DRSAPublicKeyStructure.java21 private BigInteger publicExponent; field in RSAPublicKeyStructure
48 BigInteger publicExponent) in RSAPublicKeyStructure() argument
51 this.publicExponent = publicExponent; in RSAPublicKeyStructure()
66 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); in RSAPublicKeyStructure()
76 return publicExponent; in getPublicExponent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCERSAPublicKey.java23 private BigInteger publicExponent; field in JCERSAPublicKey
29 this.publicExponent = key.getExponent(); in JCERSAPublicKey()
36 this.publicExponent = spec.getPublicExponent(); in JCERSAPublicKey()
43 this.publicExponent = key.getPublicExponent(); in JCERSAPublicKey()
54 this.publicExponent = pubKey.getPublicExponent(); in JCERSAPublicKey()
79 return publicExponent; in getPublicExponent()
DJCERSAPrivateCrtKey.java25 private BigInteger publicExponent; field in JCERSAPrivateCrtKey
42 this.publicExponent = key.getPublicExponent(); in JCERSAPrivateCrtKey()
59 this.publicExponent = spec.getPublicExponent(); in JCERSAPrivateCrtKey()
77 this.publicExponent = key.getPublicExponent(); in JCERSAPrivateCrtKey()
103 this.publicExponent = key.getPublicExponent(); in JCERSAPrivateCrtKey()
140 return publicExponent; in getPublicExponent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java27 private BigInteger publicExponent; field in BCRSAPublicKey
35 this.publicExponent = key.getExponent(); in BCRSAPublicKey()
43 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
51 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
68 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
93 return publicExponent; in getPublicExponent()
DBCRSAPrivateCrtKey.java25 private BigInteger publicExponent; field in BCRSAPrivateCrtKey
42 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
59 this.publicExponent = spec.getPublicExponent(); in BCRSAPrivateCrtKey()
77 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
103 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
140 return publicExponent; in getPublicExponent()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp3146 jbyteArray publicExponent) { argument
3147 JNI_TRACE("RSA_generate_key_ex(%d, %p)", modulusBits, publicExponent);
3150 if (!arrayToBignum(env, publicExponent, &eRef)) {
3178 JNI_TRACE("RSA_generate_key_ex(n=%d, e=%p) => %p", modulusBits, publicExponent, pkey.get());