Home
last modified time | relevance | path

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

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAPrivateCrtKey.java36 private BigInteger publicExponent; field in OpenSSLRSAPrivateCrtKey
77 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init() local
86 publicExponent == null ? null : publicExponent.toByteArray(), in init()
123 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance() local
132 publicExponent == null ? null : publicExponent.toByteArray(), in getInstance()
149 publicExponent = new BigInteger(params[1]); in readParams()
172 return publicExponent; in getPublicExponent()
221 && publicExponent.equals(other.getPublicExponent()) in equals()
241 if (publicExponent != null) { in hashCode()
242 hashCode ^= publicExponent.hashCode(); in hashCode()
[all …]
DOpenSSLRSAKeyPairGenerator.java40 private byte[] publicExponent = new byte[] { field in OpenSSLRSAKeyPairGenerator
52 publicExponent)); in generateKeyPair()
74 final BigInteger publicExponent = spec.getPublicExponent(); in initialize() local
75 if (publicExponent != null) { in initialize()
76 this.publicExponent = publicExponent.toByteArray(); in initialize()
DOpenSSLRSAPublicKey.java40 private BigInteger publicExponent; field in OpenSSLRSAPublicKey
109 publicExponent = new BigInteger(params[1]); in ensureReadParams()
123 return publicExponent; in getPublicExponent()
152 && publicExponent.equals(other.getPublicExponent()); in equals()
159 return modulus.hashCode() ^ publicExponent.hashCode(); in hashCode()
171 sb.append(publicExponent.toString(16)); in toString()
182 publicExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java205 BigInteger publicExponent = rsaKey.getPublicExponent(); in engineTranslateKey() local
214 return engineGeneratePrivate(new RSAPrivateCrtKeySpec(modulus, publicExponent, in engineTranslateKey()
DNativeCrypto.java96 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/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/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/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java28 private BigInteger publicExponent; field in BCRSAPublicKey
36 this.publicExponent = key.getExponent(); in BCRSAPublicKey()
44 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
52 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
69 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
94 return publicExponent; in getPublicExponent()
DBCRSAPrivateCrtKey.java26 private BigInteger publicExponent; field in BCRSAPrivateCrtKey
43 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
60 this.publicExponent = spec.getPublicExponent(); in BCRSAPrivateCrtKey()
78 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
104 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
141 return publicExponent; in getPublicExponent()
/external/openssh/regress/
Dssh2putty.sh22 openssl rsa -noout -text -in $KEYFILE | grep ^publicExponent |
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp1254 jbyteArray publicExponent) { in NativeCrypto_RSA_generate_key_ex() argument
1255 JNI_TRACE("RSA_generate_key_ex(%d, %p)", modulusBits, publicExponent); in NativeCrypto_RSA_generate_key_ex()
1258 if (!arrayToBignum(env, publicExponent, &eRef)) { in NativeCrypto_RSA_generate_key_ex()
1286 JNI_TRACE("RSA_generate_key_ex(n=%d, e=%p) => %p", modulusBits, publicExponent, pkey.get()); in NativeCrypto_RSA_generate_key_ex()