Home
last modified time | relevance | path

Searched refs:rsaKey (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLRSAKeyFactory.java97 RSAPublicKey rsaKey = (RSAPublicKey) key; in engineGetKeySpec() local
99 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
106 RSAPublicKey rsaKey = in engineGetKeySpec() local
109 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
113 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) key; in engineGetKeySpec() local
115 T result = (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent(), in engineGetKeySpec()
116 rsaKey.getPrivateExponent(), rsaKey.getPrimeP(), rsaKey.getPrimeQ(), in engineGetKeySpec()
117 rsaKey.getPrimeExponentP(), rsaKey.getPrimeExponentQ(), in engineGetKeySpec()
118 rsaKey.getCrtCoefficient()); in engineGetKeySpec()
122 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) key; in engineGetKeySpec() local
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAKeyFactory.java92 RSAPublicKey rsaKey = (RSAPublicKey) key; in engineGetKeySpec() local
94 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
101 RSAPublicKey rsaKey = in engineGetKeySpec() local
104 T result = (T) new RSAPublicKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent()); in engineGetKeySpec()
108 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) key; in engineGetKeySpec() local
110 T result = (T) new RSAPrivateCrtKeySpec(rsaKey.getModulus(), rsaKey.getPublicExponent(), in engineGetKeySpec()
111 rsaKey.getPrivateExponent(), rsaKey.getPrimeP(), rsaKey.getPrimeQ(), in engineGetKeySpec()
112 rsaKey.getPrimeExponentP(), rsaKey.getPrimeExponentQ(), in engineGetKeySpec()
113 rsaKey.getCrtCoefficient()); in engineGetKeySpec()
117 RSAPrivateCrtKey rsaKey = (RSAPrivateCrtKey) key; in engineGetKeySpec() local
[all …]
/external/boringssl/src/ssl/test/runner/
Dsign.go109 rsaKey, ok := key.(*rsa.PrivateKey)
114 return rsa.SignPKCS1v15(config.rand(), rsaKey, r.hash, r.computeHash(msg))
118 rsaKey, ok := key.(*rsa.PublicKey)
123 return rsa.VerifyPKCS1v15(rsaKey, r.hash, r.computeHash(msg), sig)
226 rsaKey, ok := key.(*rsa.PrivateKey)
233 return rsa.SignPSS(config.rand(), rsaKey, r.hash, h.Sum(nil), &pssOptions)
237 rsaKey, ok := key.(*rsa.PublicKey)
244 return rsa.VerifyPSS(rsaKey, r.hash, h.Sum(nil), sig, &pssOptions)
Dhandshake_client.go1354 rsaKey, ok := privKey.(*rsa.PrivateKey)
1362 certVerify.signature, err = rsa.SignPKCS1v15(c.config.rand(), rsaKey, crypto.MD5SHA1, digest)
/external/libchrome/crypto/
Dnss_key_util_unittest.cc43 EXPECT_EQ(rsaKey, SECKEY_GetPublicKeyType(public_key.get())); in TEST_F()
44 EXPECT_EQ(rsaKey, SECKEY_GetPrivateKeyType(private_key.get())); in TEST_F()
Dnss_key_util.cc51 if (SECKEY_GetPublicKeyType(result.get()) != rsaKey) in MakeIDFromSPKI()