/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCERSAPublicKey.java | 28 this.modulus = key.getModulus(); in JCERSAPublicKey() 35 this.modulus = spec.getModulus(); in JCERSAPublicKey() 42 this.modulus = key.getModulus(); in JCERSAPublicKey() 53 this.modulus = pubKey.getModulus(); in JCERSAPublicKey() 67 public BigInteger getModulus() in getModulus() method in JCERSAPublicKey 94 …dentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPublicKeyStructure(getModulus(), getPublicExpo… in getEncoded() 99 return this.getModulus().hashCode() ^ this.getPublicExponent().hashCode(); in hashCode() 116 return getModulus().equals(key.getModulus()) in equals() 126 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl); in toString()
|
D | JCERSAPrivateKey.java | 40 this.modulus = key.getModulus(); in JCERSAPrivateKey() 47 this.modulus = spec.getModulus(); in JCERSAPrivateKey() 54 this.modulus = key.getModulus(); in JCERSAPrivateKey() 58 public BigInteger getModulus() in getModulus() method in JCERSAPrivateKey 80 …ption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), ZERO, getPriv… in getEncoded() 97 return getModulus().equals(key.getModulus()) in equals() 103 return getModulus().hashCode() ^ getPrivateExponent().hashCode(); in hashCode()
|
D | JCERSAPrivateCrtKey.java | 58 this.modulus = spec.getModulus(); in JCERSAPrivateCrtKey() 76 this.modulus = key.getModulus(); in JCERSAPrivateCrtKey() 102 this.modulus = key.getModulus(); in JCERSAPrivateCrtKey() 130 …SObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), getPublicExpo… in getEncoded() 195 return this.getModulus().hashCode() in hashCode() 214 return this.getModulus().equals(key.getModulus()) in equals() 230 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl); in toString()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | BCRSAPublicKey.java | 34 this.modulus = key.getModulus(); in BCRSAPublicKey() 42 this.modulus = spec.getModulus(); in BCRSAPublicKey() 50 this.modulus = key.getModulus(); in BCRSAPublicKey() 67 this.modulus = pubKey.getModulus(); in populateFromPublicKeyInfo() 81 public BigInteger getModulus() in getModulus() method in BCRSAPublicKey 108 …yInfo(algorithmIdentifier, new org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), getPublicExpo… in getEncoded() 113 return this.getModulus().hashCode() ^ this.getPublicExponent().hashCode(); in hashCode() 130 return getModulus().equals(key.getModulus()) in equals() 140 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl); in toString()
|
D | BCRSAPrivateKey.java | 40 this.modulus = key.getModulus(); in BCRSAPrivateKey() 47 this.modulus = spec.getModulus(); in BCRSAPrivateKey() 54 this.modulus = key.getModulus(); in BCRSAPrivateKey() 60 this.modulus = key.getModulus(); in BCRSAPrivateKey() 64 public BigInteger getModulus() in getModulus() method in BCRSAPrivateKey 86 …ption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), ZERO, getPriv… in getEncoded() 103 return getModulus().equals(key.getModulus()) in equals() 109 return getModulus().hashCode() ^ getPrivateExponent().hashCode(); in hashCode()
|
D | BCRSAPrivateCrtKey.java | 58 this.modulus = spec.getModulus(); in BCRSAPrivateCrtKey() 76 this.modulus = key.getModulus(); in BCRSAPrivateCrtKey() 102 this.modulus = key.getModulus(); in BCRSAPrivateCrtKey() 130 …SObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), getPublicExpo… in getEncoded() 195 return this.getModulus().hashCode() in hashCode() 214 return this.getModulus().equals(key.getModulus()) in equals() 230 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl); in toString()
|
D | RSAUtil.java | 44 return new RSAKeyParameters(false, key.getModulus(), key.getPublicExponent()); in generatePublicKeyParameter() 55 return new RSAPrivateCrtKeyParameters(k.getModulus(), in generatePrivateKeyParameter() 63 return new RSAKeyParameters(true, k.getModulus(), k.getPrivateExponent()); in generatePrivateKeyParameter()
|
D | KeyFactorySpi.java | 40 return new RSAPublicKeySpec(k.getModulus(), k.getPublicExponent()); in engineGetKeySpec() 46 return new RSAPrivateKeySpec(k.getModulus(), k.getPrivateExponent()); in engineGetKeySpec() 53 k.getModulus(), k.getPublicExponent(), in engineGetKeySpec()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLRSAPrivateCrtKey.java | 58 BigInteger modulus = rsaKeySpec.getModulus(); in init() 104 BigInteger modulus = rsaPrivateKey.getModulus(); in getInstance() 218 return getModulus().equals(other.getModulus()) in equals() 221 return getModulus().equals(other.getModulus()) in equals() 234 return getModulus().equals(other.getModulus()); in equals() 236 return getModulus().equals(other.getModulus()) in equals() 266 sb.append(getModulus().toString(16)); in toString()
|
D | OpenSSLRSAKeyFactory.java | 88 return (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec() 96 return (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec() 100 return (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent(), in engineGetKeySpec() 107 return (T) new RSAPrivateKeySpec(rsaKey.getModulus(), rsaKey.getPrivateExponent()); in engineGetKeySpec() 111 return (T) new RSAPrivateKeySpec(rsaKey.getModulus(), rsaKey.getPrivateExponent()); in engineGetKeySpec() 122 return (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), in engineGetKeySpec() 136 return (T) new RSAPrivateKeySpec(rsaKey.getModulus(), rsaKey.getPrivateExponent()); in engineGetKeySpec() 174 return engineGeneratePublic(new RSAPublicKeySpec(rsaKey.getModulus(), in engineTranslateKey() 181 BigInteger modulus = rsaKey.getModulus(); in engineTranslateKey() 199 BigInteger modulus = rsaKey.getModulus(); in engineTranslateKey()
|
D | OpenSSLRSAPrivateKey.java | 63 final BigInteger modulus = rsaKeySpec.getModulus(); in init() 102 .getModulus().toByteArray()), true); in wrapPlatformKey() 114 modulus = ((RSAKey) privateKey).getModulus(); in wrapJCAPrivateKeyForTLSStackOnly() 116 modulus = ((RSAKey) publicKey).getModulus(); in wrapJCAPrivateKeyForTLSStackOnly() 135 final BigInteger modulus = rsaPrivateKey.getModulus(); in getInstance() 193 public final BigInteger getModulus() { in getModulus() method in OpenSSLRSAPrivateKey 246 return modulus.equals(other.getModulus()) in equals()
|
D | OpenSSLRSAPublicKey.java | 51 spec.getModulus().toByteArray(), in OpenSSLRSAPublicKey() 67 rsaPublicKey.getModulus().toByteArray(), in getInstance() 108 public BigInteger getModulus() { in getModulus() method in OpenSSLRSAPublicKey 144 return modulus.equals(other.getModulus()) in equals()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RSACoreEngine.java | 52 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() 73 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() 113 if (res.compareTo(key.getModulus()) >= 0) in convertInput() 200 key.getExponent(), key.getModulus()); in processBlock()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | RSAPublicKeyStructure.java | 69 public BigInteger getModulus() in getModulus() method in RSAPublicKeyStructure 93 v.add(new ASN1Integer(getModulus())); in toASN1Primitive()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | RSAPublicKey.java | 66 public BigInteger getModulus() in getModulus() method in RSAPublicKey 90 v.add(new ASN1Integer(getModulus())); in toASN1Primitive()
|
D | RSAPrivateKeyStructure.java | 106 public BigInteger getModulus() in getModulus() method in RSAPrivateKeyStructure 173 v.add(new ASN1Integer(getModulus())); in toASN1Primitive()
|
D | RSAPrivateKey.java | 104 public BigInteger getModulus() in getModulus() method in RSAPrivateKey 171 v.add(new ASN1Integer(getModulus())); in toASN1Primitive()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
D | PoloChallengeResponse.java | 105 byte[] clientModulus = clientPubRsa.getModulus().abs().toByteArray(); in getAlpha() 108 byte[] serverModulus = serverPubRsa.getModulus().abs().toByteArray(); in getAlpha()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
D | RSAKeyParameters.java | 22 public BigInteger getModulus() in getModulus() method in RSAKeyParameters
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/ |
D | RSAPrivateKeyTest.java | 75 public BigInteger getModulus() { in getModulus() method in RSAPrivateKeyTest.checkRSAPrivateKey
|
D | RSAPublicKeyTest.java | 71 public BigInteger getModulus() { in getModulus() method in RSAPublicKeyTest.checkRSAPublicKey
|
D | RSAPrivateCrtKeyTest.java | 95 public BigInteger getModulus() { in getModulus() method in RSAPrivateCrtKeyTest.checkRSAPrivateCrtKey
|
D | RSAMultiPrimePrivateCrtKeyTest.java | 56 public BigInteger getModulus() { in getModulus() method in RSAMultiPrimePrivateCrtKeyTest.checkCrtKey
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | RSAPrivateKeySpecTest.java | 63 assertEquals(1234567890L, rpks.getModulus().longValue()); in testGetModulus()
|
D | RSAPublicKeySpecTest.java | 78 assertTrue(BigInteger.valueOf(1234567890L).equals(rpks.getModulus())); in testGetModulus()
|