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

1 2

  /libcore/luni/src/main/java/java/security/interfaces/
RSAKey.java 32 public BigInteger getModulus();
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCERSAPublicKey.java 27 this.modulus = key.getModulus();
34 this.modulus = spec.getModulus();
41 this.modulus = key.getModulus();
52 this.modulus = pubKey.getModulus();
66 public BigInteger getModulus()
94 SubjectPublicKeyInfo info = new SubjectPublicKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPublicKeyStructure(getModulus(), getPublicExponent()).getDERObject());
102 return this.getModulus().hashCode() ^ this.getPublicExponent().hashCode();
119 return getModulus().equals(key.getModulus())
129 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl)
    [all...]
JCERSAPrivateKey.java 40 this.modulus = key.getModulus();
47 this.modulus = spec.getModulus();
54 this.modulus = key.getModulus();
58 public BigInteger getModulus()
81 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKeyStructure(getModulus(), ZERO, getPrivateExponent(), ZERO, ZERO, ZERO, ZERO, ZERO).getDERObject());
101 return getModulus().equals(key.getModulus())
107 return getModulus().hashCode() ^ getPrivateExponent().hashCode();
RSAUtil.java 31 return new RSAKeyParameters(false, key.getModulus(), key.getPublicExponent());
42 return new RSAPrivateCrtKeyParameters(k.getModulus(),
50 return new RSAKeyParameters(true, k.getModulus(), k.getPrivateExponent());
JCERSAPrivateCrtKey.java 57 this.modulus = spec.getModulus();
75 this.modulus = key.getModulus();
100 this.modulus = key.getModulus();
129 PrivateKeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKeyStructure(getModulus(), getPublicExponent(), getPrivateExponent(), getPrimeP(), getPrimeQ(), getPrimeExponentP(), getPrimeExponentQ(), getCrtCoefficient()).getDERObject());
197 return this.getModulus().hashCode()
216 return this.getModulus().equals(key.getModulus())
232 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
JDKKeyFactory.java 116 return new RSAPublicKeySpec(k.getModulus(), k.getPublicExponent());
122 return new RSAPrivateKeySpec(k.getModulus(), k.getPrivateExponent());
129 k.getModulus(), k.getPublicExponent(),
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
RSAKeyParameters.java 22 public BigInteger getModulus()
  /libcore/luni/src/main/java/java/security/spec/
RSAPrivateKeySpec.java 54 public BigInteger getModulus() {
RSAPublicKeySpec.java 54 public BigInteger getModulus() {
  /libcore/luni/src/test/java/tests/security/interfaces/
RSAKeyTest.java 30 * #getModulus()
44 assertEquals("invalid modulus", n, key.getModulus());
48 assertEquals("invalid modulus", n, key.getModulus());
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
RSAPrivateKeyTest.java 70 public BigInteger getModulus() {
RSAPublicKeyTest.java 68 public BigInteger getModulus() {
RSAMultiPrimePrivateCrtKeyTest.java 57 public BigInteger getModulus() {
RSAPrivateCrtKeyTest.java 85 public BigInteger getModulus() {
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/
RSAPublicKeyStructure.java 66 public BigInteger getModulus()
90 v.add(new DERInteger(getModulus()));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
RSAPrivateKeySpecTest.java 56 * Test for <code>getModulus()</code> method<br>
63 assertEquals(1234567890L, rpks.getModulus().longValue());
RSAPublicKeySpecTest.java 71 * Test for <code>getModulus()</code> method<br>
78 assertTrue(BigInteger.valueOf(1234567890L).equals(rpks.getModulus()));
RSAPrivateCrtKeySpecTest.java 205 * Test for <code>getModulus()</code> method<br>
218 assertTrue(BigInteger.valueOf(5L).equals(ks.getModulus()));
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
RSACoreEngine.java 52 int bitSize = key.getModulus().bitLength();
73 int bitSize = key.getModulus().bitLength();
113 if (res.compareTo(key.getModulus()) >= 0)
200 key.getExponent(), key.getModulus());
RSABlindedEngine.java 105 BigInteger m = k.getModulus();
  /libcore/luni/src/test/java/tests/security/spec/
RSAPrivateKeySpecTest.java 49 * Test for <code>getModulus()</code> method<br>
56 assertEquals(1234567890L, rpks.getModulus().longValue());
RSAPublicKeySpecTest.java 63 * Test for <code>getModulus()</code> method<br>
70 assertTrue(BigInteger.valueOf(1234567890L).equals(rpks.getModulus()));
  /system/core/libmincrypt/tools/
DumpPublicKey.java 41 BigInteger modulus = key.getModulus();
59 BigInteger N = key.getModulus();
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
RSAMultiPrimePrivateCrtKeyImpl.java 89 public BigInteger getModulus() {
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
RSAPrivateKeyStructure.java 103 public BigInteger getModulus()
170 v.add(new DERInteger(getModulus()));

Completed in 1465 milliseconds

1 2