Searched defs:publicExponent (Results 1 - 12 of 12) sorted by relevance

/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLRSAKeyPairGenerator.java33 private byte[] publicExponent = new byte[] { field in class:OpenSSLRSAKeyPairGenerator
45 publicExponent));
67 final BigInteger publicExponent = spec.getPublicExponent();
68 if (publicExponent != null) {
69 this.publicExponent = publicExponent.toByteArray();
H A DOpenSSLRSAPublicKey.java33 private BigInteger publicExponent; field in class:OpenSSLRSAPublicKey
102 publicExponent = new BigInteger(params[1]);
116 return publicExponent;
145 && publicExponent.equals(other.getPublicExponent());
152 return modulus.hashCode() ^ publicExponent.hashCode();
163 sb.append("publicExponent=");
164 sb.append(publicExponent.toString(16));
175 publicExponent.toByteArray(),
H A DOpenSSLRSAPrivateCrtKey.java33 private BigInteger publicExponent; field in class:OpenSSLRSAPrivateCrtKey
74 final BigInteger publicExponent = rsaKeySpec.getPublicExponent();
83 publicExponent == null ? null : publicExponent.toByteArray(),
112 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent();
121 publicExponent == null ? null : publicExponent.toByteArray(),
138 publicExponent = new BigInteger(params[1]);
161 return publicExponent;
211 && publicExponent
[all...]
H A DServerKeyExchange.java102 BigInteger publicExponent) {
110 tmp = ServerKeyExchange.toUnsignedByteArray(publicExponent);
101 updateSignatureRsa(DigitalSignature ds, BigInteger modulus, BigInteger publicExponent) argument
H A DNativeCrypto.java113 public static native long RSA_generate_key_ex(int modulusBits, byte[] publicExponent); argument
/libcore/luni/src/main/java/java/security/spec/
H A DRSAKeyGenParameterSpec.java40 private final BigInteger publicExponent; field in class:RSAKeyGenParameterSpec
48 * @param publicExponent
51 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { argument
53 this.publicExponent = publicExponent;
71 return publicExponent;
H A DRSAPublicKeySpec.java33 private final BigInteger publicExponent; field in class:RSAPublicKeySpec
41 * @param publicExponent
44 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) { argument
46 this.publicExponent = publicExponent;
64 return publicExponent;
H A DRSAMultiPrimePrivateCrtKeySpec.java32 private final BigInteger publicExponent; field in class:RSAMultiPrimePrivateCrtKeySpec
53 * @param publicExponent
75 BigInteger publicExponent,
93 if (publicExponent == null) {
94 throw new NullPointerException("publicExponent == null");
123 this.publicExponent = publicExponent;
200 return publicExponent;
73 RSAMultiPrimePrivateCrtKeySpec( BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo) argument
H A DRSAPrivateCrtKeySpec.java32 private final BigInteger publicExponent; field in class:RSAPrivateCrtKeySpec
51 * @param publicExponent
67 BigInteger publicExponent,
77 this.publicExponent = publicExponent;
136 return publicExponent;
66 RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient) argument
/libcore/luni/src/test/java/tests/security/interfaces/
H A DRSAMultiPrimePrivateCrtKeyTest.java38 private final BigInteger publicExponent = BigInteger.ONE; field in class:RSAMultiPrimePrivateCrtKeyTest
66 RSAMulti rsam = new RSAMulti(publicExponent, primeExponentP, primeExponentQ,
74 assertEquals(rsam.getPublicExponent(), publicExponent);
84 RSAMulti rsam = new RSAMulti(publicExponent, primeExponentP, primeExponentQ,
91 rsam = new RSAMulti(publicExponent, primeExponentP, primeExponentQ,
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
H A DRSAMultiPrimePrivateCrtKeyImpl.java32 private BigInteger publicExponent = null; field in class:RSAMultiPrimePrivateCrtKeyImpl
46 publicExponent = publicExp;
74 return publicExponent;
/libcore/crypto/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp1815 * public static native int RSA_generate_key(int modulusBits, byte[] publicExponent);
1818 jbyteArray publicExponent) {
1819 JNI_TRACE("RSA_generate_key_ex(%d, %p)", modulusBits, publicExponent);
1822 if (!arrayToBignum(env, publicExponent, &eRef)) {
1850 JNI_TRACE("RSA_generate_key_ex(n=%d, e=%p) => %p", modulusBits, publicExponent, pkey.get());
1817 NativeCrypto_RSA_generate_key_ex(JNIEnv* env, jclass, jint modulusBits, jbyteArray publicExponent) argument

Completed in 346 milliseconds