Searched refs:OpenSSLRSAPublicKey (Results 1 – 7 of 7) sorted by relevance
35 public class OpenSSLRSAPublicKey implements RSAPublicKey, OpenSSLKeyHolder { class46 OpenSSLRSAPublicKey(OpenSSLKey key) { in OpenSSLRSAPublicKey() method in OpenSSLRSAPublicKey55 OpenSSLRSAPublicKey(RSAPublicKeySpec spec) throws InvalidKeySpecException { in OpenSSLRSAPublicKey() method in OpenSSLRSAPublicKey132 if (o instanceof OpenSSLRSAPublicKey) { in equals()133 OpenSSLRSAPublicKey other = (OpenSSLRSAPublicKey) o; in equals()
111 if (publicKey instanceof OpenSSLRSAPublicKey) { in engineInitVerify()112 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey; in engineInitVerify()116 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey); in engineInitVerify()
195 } 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()
55 PublicKey pubKey = new OpenSSLRSAPublicKey(key); in generateKeyPair()
52 return new OpenSSLRSAPublicKey((RSAPublicKeySpec) keySpec); in engineGeneratePublic()191 if ((key instanceof OpenSSLRSAPublicKey) || (key instanceof OpenSSLRSAPrivateKey)) { in engineTranslateKey()
265 return new OpenSSLRSAPublicKey(this); in getPublicKey()
53 OpenSSLRSAPublicKey publicKey = (OpenSSLRSAPublicKey)key.getPublicKey(); in test_fromPublicKeyPemInputStream()