Home
last modified time | relevance | path

Searched refs:privateExponent (Results 1 – 19 of 19) sorted by relevance

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLRSAPrivateKey.java45 BigInteger privateExponent; field in OpenSSLRSAPrivateKey
68 final BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
72 } else if (privateExponent == null) { in init()
80 privateExponent.toByteArray(), in init()
140 final BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
144 } else if (privateExponent == null) { in getInstance()
152 privateExponent.toByteArray(), in getInstance()
182 privateExponent = new BigInteger(params[2]); in readParams()
189 return privateExponent; in getPrivateExponent()
229 && privateExponent.equals(other.getPrivateExponent()); in equals()
[all …]
DOpenSSLRSAPrivateCrtKey.java63 BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
67 } else if (privateExponent == null) { in init()
88 privateExponent.toByteArray(), in init()
109 BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
113 } else if (privateExponent == null) { in getInstance()
134 privateExponent.toByteArray(), in getInstance()
272 privateExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java209 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
218 privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, in engineTranslateKey()
226 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
229 return engineGeneratePrivate(new RSAPrivateKeySpec(modulus, privateExponent)); in engineTranslateKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAPrivateKey.java44 BigInteger privateExponent; field in OpenSSLRSAPrivateKey
67 final BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
71 } else if (privateExponent == null) { in init()
79 privateExponent.toByteArray(), in init()
139 final BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
143 } else if (privateExponent == null) { in getInstance()
151 privateExponent.toByteArray(), in getInstance()
181 privateExponent = new BigInteger(params[2]); in readParams()
188 return privateExponent; in getPrivateExponent()
228 && privateExponent.equals(other.getPrivateExponent()); in equals()
[all …]
DOpenSSLRSAPrivateCrtKey.java62 BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); in init() local
66 } else if (privateExponent == null) { in init()
87 privateExponent.toByteArray(), in init()
108 BigInteger privateExponent = rsaPrivateKey.getPrivateExponent(); in getInstance() local
112 } else if (privateExponent == null) { in getInstance()
133 privateExponent.toByteArray(), in getInstance()
271 privateExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java204 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
213 privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, in engineTranslateKey()
221 BigInteger privateExponent = rsaKey.getPrivateExponent(); in engineTranslateKey() local
224 return engineGeneratePrivate(new RSAPrivateKeySpec(modulus, privateExponent)); in engineTranslateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAPrivateKey.java20 private BigInteger privateExponent; field in RSAPrivateKey
54 BigInteger privateExponent, in RSAPrivateKey() argument
64 this.privateExponent = privateExponent; in RSAPrivateKey()
86 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
116 return privateExponent; in getPrivateExponent()
DRSAPrivateKeyStructure.java23 private BigInteger privateExponent; field in RSAPrivateKeyStructure
56 BigInteger privateExponent, in RSAPrivateKeyStructure() argument
66 this.privateExponent = privateExponent; in RSAPrivateKeyStructure()
88 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
118 return privateExponent; in getPrivateExponent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateKey.java30 protected BigInteger privateExponent; field in BCRSAPrivateKey
42 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
49 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateKey()
56 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
62 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
72 return privateExponent; in getPrivateExponent()
DBCRSAPrivateCrtKey.java61 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateCrtKey()
79 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
105 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DRSAPrivateKeyStructure.java25 private BigInteger privateExponent; field in RSAPrivateKeyStructure
58 BigInteger privateExponent, in RSAPrivateKeyStructure() argument
68 this.privateExponent = privateExponent; in RSAPrivateKeyStructure()
90 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
120 return privateExponent; in getPrivateExponent()
DRSAPrivateKey.java24 private BigInteger privateExponent; field in RSAPrivateKey
58 BigInteger privateExponent, in RSAPrivateKey() argument
68 this.privateExponent = privateExponent; in RSAPrivateKey()
90 privateExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
120 return privateExponent; in getPrivateExponent()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPrivateKey.java34 protected BigInteger privateExponent; field in BCRSAPrivateKey
46 this.privateExponent = key.getExponent(); in BCRSAPrivateKey()
53 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateKey()
60 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
66 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateKey()
76 return privateExponent; in getPrivateExponent()
DBCRSAPrivateCrtKey.java63 this.privateExponent = spec.getPrivateExponent(); in BCRSAPrivateCrtKey()
81 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
107 this.privateExponent = key.getPrivateExponent(); in BCRSAPrivateCrtKey()
/external/python/pyasn1/docs/source/
Dexample-use-case.rst29 privateExponent INTEGER,
77 NamedType('privateExponent', Integer()),
118 privateExponent=1704567874679144879123080924...
138 >>> pk['exponent1'] == pk['privateExponent'] % (pk['prime1'] - 1)
140 >>> pk['exponent2'] == pk['privateExponent'] % (pk['prime2'] - 1)
160 … 'privateExponent': 1704567874679144879123080924, 'prime1': 1780178536719561265324798296279384073,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DRSAPrivateCrtKeyParameters.java21 BigInteger privateExponent, in RSAPrivateCrtKeyParameters() argument
28 super(true, modulus, privateExponent); in RSAPrivateCrtKeyParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DRSAPrivateCrtKeyParameters.java25 BigInteger privateExponent, in RSAPrivateCrtKeyParameters() argument
32 super(true, modulus, privateExponent); in RSAPrivateCrtKeyParameters()
/external/scapy/test/
Dx509.uts31 x.privateExponent == ASN1_INTEGER(15879630313397508329451198152673380989865598204237760057319927734…
/external/scapy/scapy/layers/tls/
Dcert.py483 privExp = privkey.privateExponent.val