@Override
    protected OpenSSLKey convertPrivateKey(PrivateKey key) throws InvalidKeyException {
        return OpenSSLKey.fromPrivateKey(key);
    }
Elliptic Curve Diffie-Hellman key agreement backed by the OpenSSL engine.
common/src/main/java/org/conscrypt/OpenSSLECDHKeyAgreement.java