Home
last modified time | relevance | path

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

12

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAPrivateCrtKey.java37 private BigInteger publicExponent; field in OpenSSLRSAPrivateCrtKey
78 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init() local
87 publicExponent == null ? null : publicExponent.toByteArray(), in init()
124 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance() local
133 publicExponent == null ? null : publicExponent.toByteArray(), in getInstance()
150 publicExponent = new BigInteger(params[1]); in readParams()
173 return publicExponent; in getPublicExponent()
223 && publicExponent.equals(other.getPublicExponent()); in equals()
226 && publicExponent.equals(other.getPublicExponent()) in equals()
251 if (publicExponent != null) { in hashCode()
[all …]
DOpenSSLRSAKeyPairGenerator.java38 private byte[] publicExponent = new byte[] { field in OpenSSLRSAKeyPairGenerator
50 publicExponent)); in generateKeyPair()
72 final BigInteger publicExponent = spec.getPublicExponent(); in initialize() local
73 if (publicExponent != null) { in initialize()
74 this.publicExponent = publicExponent.toByteArray(); in initialize()
DOpenSSLRSAPublicKey.java38 private BigInteger publicExponent; field in OpenSSLRSAPublicKey
107 publicExponent = new BigInteger(params[1]); in ensureReadParams()
121 return publicExponent; in getPublicExponent()
150 && publicExponent.equals(other.getPublicExponent()); in equals()
157 return modulus.hashCode() ^ publicExponent.hashCode(); in hashCode()
169 sb.append(publicExponent.toString(16)); in toString()
180 publicExponent.toByteArray(), in readObject()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLRSAPrivateCrtKey.java38 private BigInteger publicExponent; field in OpenSSLRSAPrivateCrtKey
79 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init() local
88 publicExponent == null ? null : publicExponent.toByteArray(), in init()
125 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance() local
134 publicExponent == null ? null : publicExponent.toByteArray(), in getInstance()
151 publicExponent = new BigInteger(params[1]); in readParams()
174 return publicExponent; in getPublicExponent()
224 && publicExponent.equals(other.getPublicExponent()); in equals()
227 && publicExponent.equals(other.getPublicExponent()) in equals()
252 if (publicExponent != null) { in hashCode()
[all …]
DOpenSSLRSAKeyPairGenerator.java40 private byte[] publicExponent = new byte[] { field in OpenSSLRSAKeyPairGenerator
54 publicExponent)); in generateKeyPair()
76 final BigInteger publicExponent = spec.getPublicExponent(); in initialize() local
77 if (publicExponent != null) { in initialize()
78 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()
/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()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java15 private BigInteger publicExponent; field in RSAKeyGenerationParameters
19 BigInteger publicExponent, in RSAKeyGenerationParameters() argument
34 if (!publicExponent.testBit(0)) in RSAKeyGenerationParameters()
39 this.publicExponent = publicExponent; in RSAKeyGenerationParameters()
45 return publicExponent; in getPublicExponent()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java15 private BigInteger publicExponent; field in RSAKeyGenerationParameters
19 BigInteger publicExponent, in RSAKeyGenerationParameters() argument
34 if (!publicExponent.testBit(0)) in RSAKeyGenerationParameters()
39 this.publicExponent = publicExponent; in RSAKeyGenerationParameters()
45 return publicExponent; in getPublicExponent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java26 private BigInteger publicExponent; field in BCRSAPublicKey
43 this.publicExponent = key.getExponent(); in BCRSAPublicKey()
52 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
53 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in BCRSAPublicKey()
61 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
62 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in BCRSAPublicKey()
79 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
80 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in populateFromPublicKeyInfo()
105 return publicExponent; in getPublicExponent()
185 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in readObject()
DBCRSAPrivateCrtKey.java27 private BigInteger publicExponent; field in BCRSAPrivateCrtKey
44 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
58 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
79 this.publicExponent = spec.getPublicExponent(); in BCRSAPrivateCrtKey()
101 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
138 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
175 return publicExponent; in getPublicExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java30 private BigInteger publicExponent; field in BCRSAPublicKey
47 this.publicExponent = key.getExponent(); in BCRSAPublicKey()
56 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
57 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in BCRSAPublicKey()
65 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
66 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in BCRSAPublicKey()
83 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
84 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in populateFromPublicKeyInfo()
109 return publicExponent; in getPublicExponent()
189 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in readObject()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java30 private BigInteger publicExponent; field in BCRSAPublicKey
47 this.publicExponent = key.getExponent(); in BCRSAPublicKey()
56 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
57 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in BCRSAPublicKey()
65 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
66 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in BCRSAPublicKey()
83 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
84 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in populateFromPublicKeyInfo()
109 return publicExponent; in getPublicExponent()
189 this.rsaPublicKey = new RSAKeyParameters(false, modulus, publicExponent); in readObject()
/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()
88 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
114 return publicExponent; in getPublicExponent()
DRSAPrivateKey.java19 private BigInteger publicExponent; field in RSAPrivateKey
53 BigInteger publicExponent, in RSAPrivateKey() argument
63 this.publicExponent = publicExponent; in RSAPrivateKey()
86 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
112 return publicExponent; in getPublicExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DRSAPublicKeyStructure.java23 private BigInteger publicExponent; field in RSAPublicKeyStructure
50 BigInteger publicExponent) in RSAPublicKeyStructure() argument
53 this.publicExponent = publicExponent; in RSAPublicKeyStructure()
68 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); in RSAPublicKeyStructure()
78 return publicExponent; in getPublicExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSAPublicKey.java22 private BigInteger publicExponent; field in RSAPublicKey
49 BigInteger publicExponent) in RSAPublicKey() argument
52 this.publicExponent = publicExponent; in RSAPublicKey()
67 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); in RSAPublicKey()
77 return publicExponent; in getPublicExponent()
DRSAPrivateKeyStructure.java24 private BigInteger publicExponent; field in RSAPrivateKeyStructure
57 BigInteger publicExponent, in RSAPrivateKeyStructure() argument
67 this.publicExponent = publicExponent; in RSAPrivateKeyStructure()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
116 return publicExponent; in getPublicExponent()
DRSAPrivateKey.java23 private BigInteger publicExponent; field in RSAPrivateKey
57 BigInteger publicExponent, in RSAPrivateKey() argument
67 this.publicExponent = publicExponent; in RSAPrivateKey()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
116 return publicExponent; in getPublicExponent()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/
DRSAPublicKey.java22 private BigInteger publicExponent; field in RSAPublicKey
49 BigInteger publicExponent) in RSAPublicKey() argument
52 this.publicExponent = publicExponent; in RSAPublicKey()
67 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); in RSAPublicKey()
77 return publicExponent; in getPublicExponent()
DRSAPrivateKey.java23 private BigInteger publicExponent; field in RSAPrivateKey
57 BigInteger publicExponent, in RSAPrivateKey() argument
67 this.publicExponent = publicExponent; in RSAPrivateKey()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
116 return publicExponent; in getPublicExponent()
DRSAPrivateKeyStructure.java24 private BigInteger publicExponent; field in RSAPrivateKeyStructure
57 BigInteger publicExponent, in RSAPrivateKeyStructure() argument
67 this.publicExponent = publicExponent; in RSAPrivateKeyStructure()
90 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
116 return publicExponent; in getPublicExponent()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DRSAPublicKeyStructure.java23 private BigInteger publicExponent; field in RSAPublicKeyStructure
50 BigInteger publicExponent) in RSAPublicKeyStructure() argument
53 this.publicExponent = publicExponent; in RSAPublicKeyStructure()
68 publicExponent = ASN1Integer.getInstance(e.nextElement()).getPositiveValue(); in RSAPublicKeyStructure()
78 return publicExponent; in getPublicExponent()

12