Home
last modified time | relevance | path

Searched refs:fromPrivateKey (Results 1 – 4 of 4) sorted by relevance

/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLECDHKeyAgreement.java126 OpenSSLKey openSslKey = OpenSSLKey.fromPrivateKey((PrivateKey) key); in engineInit()
DOpenSSLSignature.java138 initInternal(OpenSSLKey.fromPrivateKey(privateKey), true); in engineInitSign()
DOpenSSLKey.java81 public static OpenSSLKey fromPrivateKey(PrivateKey key) throws InvalidKeyException { in fromPrivateKey() method in OpenSSLKey
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java128 SERVER_PRIVATE_KEY = OpenSSLKey.fromPrivateKey(serverPrivateKeyEntry.getPrivateKey()); in initCerts()
135 CLIENT_PRIVATE_KEY = OpenSSLKey.fromPrivateKey(clientPrivateKeyEntry.getPrivateKey()); in initCerts()