Home
last modified time | relevance | path

Searched refs:getPublicExponent (Results 1 – 25 of 45) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java42 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
50 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
67 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
90 public BigInteger getPublicExponent() in getPublicExponent() method in BCRSAPublicKey
107 …gorithmIdentifier, new org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), getPublicExponent())); in getEncoded()
112 return this.getModulus().hashCode() ^ this.getPublicExponent().hashCode(); in hashCode()
130 && getPublicExponent().equals(key.getPublicExponent()); in equals()
140 .append(RSAUtil.generateExponentFingerprint(this.getPublicExponent())) in toString()
144 buf.append("public exponent: ").append(this.getPublicExponent().toString(16)).append(nl); in toString()
DBCRSAPrivateCrtKey.java43 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()
131 …s.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), getPublicExponent(), getPrivat… in getEncoded()
139 public BigInteger getPublicExponent() in getPublicExponent() method in BCRSAPrivateCrtKey
197 ^ this.getPublicExponent().hashCode() in hashCode()
216 && this.getPublicExponent().equals(key.getPublicExponent()) in equals()
233 .append(RSAUtil.generateExponentFingerprint(this.getPublicExponent())) in toString()
237 … buf.append(" public exponent: ").append(this.getPublicExponent().toString(16)).append(nl); in toString()
DRSAUtil.java46 return new RSAKeyParameters(false, key.getModulus(), key.getPublicExponent()); in generatePublicKeyParameter()
58 k.getPublicExponent(), k.getPrivateExponent(), in generatePrivateKeyParameter()
DKeyFactorySpi.java49 return new RSAPublicKeySpec(k.getModulus(), k.getPublicExponent()); in engineGetKeySpec()
62 k.getModulus(), k.getPublicExponent(), in engineGetKeySpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateCrtKey.java45 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
62 this.publicExponent = spec.getPublicExponent(); in BCRSAPrivateCrtKey()
80 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
106 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
133 …s.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), getPublicExponent(), getPrivat… in getEncoded()
141 public BigInteger getPublicExponent() in getPublicExponent() method in BCRSAPrivateCrtKey
199 ^ this.getPublicExponent().hashCode() in hashCode()
218 && this.getPublicExponent().equals(key.getPublicExponent()) in equals()
235 .append(RSAUtil.generateExponentFingerprint(this.getPublicExponent())) in toString()
239 … buf.append(" public exponent: ").append(this.getPublicExponent().toString(16)).append(nl); in toString()
DBCRSAPublicKey.java46 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
54 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
71 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
94 public BigInteger getPublicExponent() in getPublicExponent() method in BCRSAPublicKey
111 …ifier, new com.android.org.bouncycastle.asn1.pkcs.RSAPublicKey(getModulus(), getPublicExponent())); in getEncoded()
116 return this.getModulus().hashCode() ^ this.getPublicExponent().hashCode(); in hashCode()
134 && getPublicExponent().equals(key.getPublicExponent()); in equals()
144 .append(RSAUtil.generateExponentFingerprint(this.getPublicExponent())) in toString()
148 buf.append("public exponent: ").append(this.getPublicExponent().toString(16)).append(nl); in toString()
DRSAUtil.java48 return new RSAKeyParameters(false, key.getModulus(), key.getPublicExponent()); in generatePublicKeyParameter()
60 k.getPublicExponent(), k.getPrivateExponent(), in generatePrivateKeyParameter()
DKeyFactorySpi.java53 return new RSAPublicKeySpec(k.getModulus(), k.getPublicExponent()); in engineGetKeySpec()
66 k.getModulus(), k.getPublicExponent(), in engineGetKeySpec()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLRSAPublicKey.java59 spec.getPublicExponent().toByteArray(), in OpenSSLRSAPublicKey()
75 rsaPublicKey.getPublicExponent().toByteArray(), in getInstance()
121 public BigInteger getPublicExponent() { in getPublicExponent() method in OpenSSLRSAPublicKey
152 && publicExponent.equals(other.getPublicExponent()); in equals()
DOpenSSLRSAKeyFactory.java99 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
109 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
115 T result = (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent(), in engineGetKeySpec()
144 rsaKey.getPublicExponent(), rsaKey.getPrivateExponent(), rsaKey.getPrimeP(), in engineGetKeySpec()
201 rsaKey.getPublicExponent())); in engineTranslateKey()
208 BigInteger publicExponent = rsaKey.getPublicExponent(); in engineTranslateKey()
DOpenSSLRSAPrivateCrtKey.java78 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init()
124 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance()
171 public BigInteger getPublicExponent() { in getPublicExponent() method in OpenSSLRSAPrivateCrtKey
222 && publicExponent.equals(other.getPublicExponent()) in equals()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAPublicKey.java57 spec.getPublicExponent().toByteArray(), in OpenSSLRSAPublicKey()
73 rsaPublicKey.getPublicExponent().toByteArray(), in getInstance()
119 public BigInteger getPublicExponent() { in getPublicExponent() method in OpenSSLRSAPublicKey
150 && publicExponent.equals(other.getPublicExponent()); in equals()
DOpenSSLRSAKeyFactory.java94 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
104 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
110 T result = (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent(), in engineGetKeySpec()
139 rsaKey.getPublicExponent(), rsaKey.getPrivateExponent(), rsaKey.getPrimeP(), in engineGetKeySpec()
196 rsaKey.getPublicExponent())); in engineTranslateKey()
203 BigInteger publicExponent = rsaKey.getPublicExponent(); in engineTranslateKey()
DOpenSSLRSAPrivateCrtKey.java77 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init()
123 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance()
170 public BigInteger getPublicExponent() { in getPublicExponent() method in OpenSSLRSAPrivateCrtKey
221 && publicExponent.equals(other.getPublicExponent()) in equals()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAPublicKey.java71 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPublicKey
91 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
DRSAPrivateKeyStructure.java111 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPrivateKeyStructure
174 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
DRSAPrivateKey.java109 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPrivateKey
172 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DRSAPublicKeyStructure.java74 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPublicKeyStructure
94 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DRSAPublicKeyStructure.java76 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPublicKeyStructure
96 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSAPublicKey.java75 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPublicKey
95 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
DRSAPrivateKey.java113 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPrivateKey
176 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
DRSAPrivateKeyStructure.java113 public BigInteger getPublicExponent() in getPublicExponent() method in RSAPrivateKeyStructure
176 v.add(new ASN1Integer(getPublicExponent())); in toASN1Primitive()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DRsaKeyTest.java1399 BigInteger e = key.getPublicExponent(); in checkPrivateCrtKey()
1431 BigInteger e = pub.getPublicExponent(); in checkPublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java39 public BigInteger getPublicExponent() in getPublicExponent() method in RSAKeyGenerationParameters
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java43 public BigInteger getPublicExponent() in getPublicExponent() method in RSAKeyGenerationParameters

12