Home
last modified time | relevance | path

Searched refs:OpenSSLRSAPublicKey (Results 1 – 7 of 7) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAPublicKey.java35 public class OpenSSLRSAPublicKey implements RSAPublicKey, OpenSSLKeyHolder { class
46 OpenSSLRSAPublicKey(OpenSSLKey key) { in OpenSSLRSAPublicKey() method in OpenSSLRSAPublicKey
55 OpenSSLRSAPublicKey(RSAPublicKeySpec spec) throws InvalidKeySpecException { in OpenSSLRSAPublicKey() method in OpenSSLRSAPublicKey
132 if (o instanceof OpenSSLRSAPublicKey) { in equals()
133 OpenSSLRSAPublicKey other = (OpenSSLRSAPublicKey) o; in equals()
DOpenSSLSignatureRawRSA.java111 if (publicKey instanceof OpenSSLRSAPublicKey) { in engineInitVerify()
112 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey; in engineInitVerify()
116 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey); in engineInitVerify()
DOpenSSLCipherRSA.java195 } else if (key instanceof OpenSSLRSAPublicKey) { in engineInitInternal()
196 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) key; in engineInitInternal()
202 this.key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey); in engineInitInternal()
229 if (key instanceof OpenSSLRSAPublicKey) { in engineGetKeySize()
230 return ((OpenSSLRSAPublicKey) key).getModulus().bitLength(); in engineGetKeySize()
DOpenSSLRSAKeyPairGenerator.java55 PublicKey pubKey = new OpenSSLRSAPublicKey(key); in generateKeyPair()
DOpenSSLRSAKeyFactory.java52 return new OpenSSLRSAPublicKey((RSAPublicKeySpec) keySpec); in engineGeneratePublic()
191 if ((key instanceof OpenSSLRSAPublicKey) || (key instanceof OpenSSLRSAPrivateKey)) { in engineTranslateKey()
DOpenSSLKey.java265 return new OpenSSLRSAPublicKey(this); in getPublicKey()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLKeyTest.java53 OpenSSLRSAPublicKey publicKey = (OpenSSLRSAPublicKey)key.getPublicKey(); in test_fromPublicKeyPemInputStream()