HomeSort by relevance Sort by last modified time
    Searched refs:rsaPublicKey (Results 1 - 4 of 4) sorted by null

  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLRSAPublicKey.java 24 import java.security.interfaces.RSAPublicKey;
28 public class OpenSSLRSAPublicKey implements RSAPublicKey, OpenSSLKeyHolder {
64 static OpenSSLKey getInstance(RSAPublicKey rsaPublicKey) throws InvalidKeyException {
67 rsaPublicKey.getModulus().toByteArray(),
68 rsaPublicKey.getPublicExponent().toByteArray(),
137 if (!(o instanceof RSAPublicKey)) {
143 RSAPublicKey other = (RSAPublicKey) o;
OpenSSLSignatureRawRSA.java 28 import java.security.interfaces.RSAPublicKey;
116 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) publicKey;
117 key = rsaPublicKey.getOpenSSLKey();
118 } else if (publicKey instanceof RSAPublicKey) {
119 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
120 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
OpenSSLCipherRSA.java 30 import java.security.interfaces.RSAPublicKey;
176 OpenSSLRSAPublicKey rsaPublicKey = (OpenSSLRSAPublicKey) key;
178 this.key = rsaPublicKey.getOpenSSLKey();
179 } else if (key instanceof RSAPublicKey) {
180 RSAPublicKey rsaPublicKey = (RSAPublicKey) key;
182 this.key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);
OpenSSLSignature.java 32 import java.security.interfaces.RSAPublicKey;
196 } else if (publicKey instanceof RSAPublicKey) {
201 RSAPublicKey rsaPublicKey = (RSAPublicKey) publicKey;
202 key = OpenSSLRSAPublicKey.getInstance(rsaPublicKey);

Completed in 44 milliseconds