title: ECDH with key in Android Key Store
body: <p>I'm developping an Android App that generates an EC Asymetric key. When my app gets connected to a device, they exchange their public key. They then use ECDH to establish a shared secret. This shared secret is then used to derive an AES session key. All this is working fine.</p>
  
  <p>I'm now working on the storage of the asymetric key. I wanted to put it in the Android KeyStore but I don't see how I can then do the ECDH operation. The key in the key store can be used to sign, decrypt or encrypt but I don't see the possibility to do ECDH operation. Is it possible?</p>
  
  <p>While browsing SO, I have seen <a href="https://stackoverflow.com/questions/45614583/ecdh-using-android-keystore-generated-private-key">this discussion</a> which says that it is not possible. If that's the case, how can I "secure" my asymetric key?</p>
  
  <p>Thanks</p>