Searched defs:OpenSSLKey (Results 1 - 1 of 1) sorted by relevance

/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLKey.java28 public class OpenSSLKey { class
35 public OpenSSLKey(long ctx) { method in class:OpenSSLKey
41 public OpenSSLKey(long ctx, OpenSSLEngine engine, String alias) { method in class:OpenSSLKey
49 * life cycle of this native pointer is managed by the {@code OpenSSLKey}
68 public static OpenSSLKey fromPrivateKey(PrivateKey key) throws InvalidKeyException {
74 return new OpenSSLKey(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(key.getEncoded()));
97 final OpenSSLKey key;
99 key = new OpenSSLKey(NativeCrypto.d2i_PUBKEY(x509KeySpec.getEncoded()));
132 final OpenSSLKey key;
134 key = new OpenSSLKey(NativeCrypt
[all...]

Completed in 343 milliseconds