Home
last modified time | relevance | path

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

12

/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()
DRSAPrivateCrtKeyParameters.java20 BigInteger publicExponent, in RSAPrivateCrtKeyParameters() argument
30 this.e = publicExponent; in RSAPrivateCrtKeyParameters()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLRSAPrivateCrtKey.java33 private BigInteger publicExponent; field in OpenSSLRSAPrivateCrtKey
74 final BigInteger publicExponent = rsaKeySpec.getPublicExponent(); in init() local
83 publicExponent == null ? null : publicExponent.toByteArray(), in init()
120 final BigInteger publicExponent = rsaPrivateKey.getPublicExponent(); in getInstance() local
129 publicExponent == null ? null : publicExponent.toByteArray(), in getInstance()
146 publicExponent = new BigInteger(params[1]); in readParams()
169 return publicExponent; in getPublicExponent()
219 && publicExponent.equals(other.getPublicExponent()); in equals()
222 && publicExponent.equals(other.getPublicExponent()) in equals()
247 if (publicExponent != null) { in hashCode()
[all …]
DOpenSSLRSAKeyPairGenerator.java33 private byte[] publicExponent = new byte[] { field in OpenSSLRSAKeyPairGenerator
45 publicExponent)); in generateKeyPair()
67 final BigInteger publicExponent = spec.getPublicExponent(); in initialize() local
68 if (publicExponent != null) { in initialize()
69 this.publicExponent = publicExponent.toByteArray(); in initialize()
DOpenSSLRSAPublicKey.java33 private BigInteger publicExponent; field in OpenSSLRSAPublicKey
102 publicExponent = new BigInteger(params[1]); in ensureReadParams()
116 return publicExponent; in getPublicExponent()
145 && publicExponent.equals(other.getPublicExponent()); in equals()
152 return modulus.hashCode() ^ publicExponent.hashCode(); in hashCode()
164 sb.append(publicExponent.toString(16)); in toString()
175 publicExponent.toByteArray(), in readObject()
DOpenSSLRSAKeyFactory.java182 BigInteger publicExponent = rsaKey.getPublicExponent(); in engineTranslateKey() local
191 return engineGeneratePrivate(new RSAPrivateCrtKeySpec(modulus, publicExponent, in engineTranslateKey()
/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()
87 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKeyStructure()
113 return publicExponent; in getPublicExponent()
DRSAPrivateKey.java19 private BigInteger publicExponent; field in RSAPrivateKey
53 BigInteger publicExponent, in RSAPrivateKey() argument
63 this.publicExponent = publicExponent; in RSAPrivateKey()
85 publicExponent = ((ASN1Integer)e.nextElement()).getValue(); in RSAPrivateKey()
111 return publicExponent; in getPublicExponent()
/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/jce/provider/
DJCERSAPublicKey.java23 private BigInteger publicExponent; field in JCERSAPublicKey
29 this.publicExponent = key.getExponent(); in JCERSAPublicKey()
36 this.publicExponent = spec.getPublicExponent(); in JCERSAPublicKey()
43 this.publicExponent = key.getPublicExponent(); in JCERSAPublicKey()
54 this.publicExponent = pubKey.getPublicExponent(); in JCERSAPublicKey()
79 return publicExponent; in getPublicExponent()
DJCERSAPrivateCrtKey.java25 private BigInteger publicExponent; field in JCERSAPrivateCrtKey
42 this.publicExponent = key.getPublicExponent(); in JCERSAPrivateCrtKey()
59 this.publicExponent = spec.getPublicExponent(); in JCERSAPrivateCrtKey()
77 this.publicExponent = key.getPublicExponent(); in JCERSAPrivateCrtKey()
103 this.publicExponent = key.getPublicExponent(); in JCERSAPrivateCrtKey()
140 return publicExponent; in getPublicExponent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java26 private BigInteger publicExponent; field in BCRSAPublicKey
34 this.publicExponent = key.getExponent(); in BCRSAPublicKey()
42 this.publicExponent = spec.getPublicExponent(); in BCRSAPublicKey()
50 this.publicExponent = key.getPublicExponent(); in BCRSAPublicKey()
67 this.publicExponent = pubKey.getPublicExponent(); in populateFromPublicKeyInfo()
92 return publicExponent; in getPublicExponent()
DBCRSAPrivateCrtKey.java25 private BigInteger publicExponent; field in BCRSAPrivateCrtKey
42 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
59 this.publicExponent = spec.getPublicExponent(); in BCRSAPrivateCrtKey()
77 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
103 this.publicExponent = key.getPublicExponent(); in BCRSAPrivateCrtKey()
140 return publicExponent; in getPublicExponent()
/external/chromium_org/content/child/webcrypto/
Dstructured_clone.cc81 if (algorithm.rsaHashedParams()->publicExponent().size() != in ValidateDeserializedKey()
82 key.algorithm().rsaHashedParams()->publicExponent().size()) in ValidateDeserializedKey()
84 if (memcmp(algorithm.rsaHashedParams()->publicExponent().data(), in ValidateDeserializedKey()
85 key.algorithm().rsaHashedParams()->publicExponent().data(), in ValidateDeserializedKey()
86 key.algorithm().rsaHashedParams()->publicExponent().size()) != in ValidateDeserializedKey()
Dwebcrypto_util.cc242 if (!BigIntegerToUint(params->publicExponent().data(), in GetRsaKeyGenParameters()
243 params->publicExponent().size(), in GetRsaKeyGenParameters()
/external/chromium_org/third_party/WebKit/public/platform/
DWebCryptoKeyAlgorithmParams.h132 …dKeyAlgorithmParams(unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publ… in WebCryptoRsaHashedKeyAlgorithmParams() argument
134 , m_publicExponent(publicExponent, publicExponentSize) in WebCryptoRsaHashedKeyAlgorithmParams()
144 const WebVector<unsigned char>& publicExponent() const in publicExponent() function
DWebCryptoAlgorithmParams.h196 …ptoAlgorithm& hash, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publ… in WebCryptoRsaHashedKeyGenParams() argument
198 , m_publicExponent(publicExponent, publicExponentSize) in WebCryptoRsaHashedKeyGenParams()
207 const WebVector<unsigned char>& publicExponent() const { return m_publicExponent; } in publicExponent() function
DWebCryptoKeyAlgorithm.h64 …bCryptoAlgorithmId, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publ…
/external/chromium_org/chrome/renderer/resources/extensions/enterprise_platform_keys/
Dsubtle_crypto.js107 normalizedAlgorithmParameters.publicExponent =
108 new Uint8Array(normalizedAlgorithmParameters.publicExponent);
112 normalizedAlgorithmParameters.publicExponent)) {
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebCryptoKeyAlgorithm.cpp83 …yptoAlgorithmId id, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publ… in createRsaHashed() argument
88 …adoptPtr(new WebCryptoRsaHashedKeyAlgorithmParams(modulusLengthBits, publicExponent, publicExponen… in createRsaHashed()
/external/chromium_org/third_party/WebKit/Source/modules/crypto/
DNormalizeAlgorithm.cpp527 RefPtr<Uint8Array> publicExponent; in parseRsaHashedKeyGenParams() local
528 if (!getBigInteger(raw, "publicExponent", publicExponent, context, error)) in parseRsaHashedKeyGenParams()
535 …sh, modulusLength, static_cast<const unsigned char*>(publicExponent->baseAddress()), publicExponen… in parseRsaHashedKeyGenParams()
/external/chromium_org/chrome/renderer/extensions/
Denterprise_platform_keys_natives.cc53 rsaHashedKeyGen->publicExponent(); in WebCryptoAlgorithmToBaseValue()
/external/chromium_org/content/child/webcrypto/nss/
Drsa_key_nss.cc74 CryptoData public_exponent(key->u.rsa.publicExponent.data, in CreateRsaHashedPublicKeyAlgorithm()
75 key->u.rsa.publicExponent.len); in CreateRsaHashedPublicKeyAlgorithm()
807 SECItemToCryptoData(nss_key->u.rsa.publicExponent), in ExportKeyJwk()
/external/chromium_org/chrome/third_party/mozilla_security_manager/
DnsNSSCertHelper.cpp1052 base::UintToString16(key->u.rsa.publicExponent.len * 8), in ProcessSubjectPublicKeyInfo()
1053 base::UTF8ToUTF16(ProcessRawBytes(&key->u.rsa.publicExponent))); in ProcessSubjectPublicKeyInfo()

12