title: How to make a Bouncy Castle ECPublicKey
body: <p>I know the curve name (<code>secp256k1</code>) and the <code>X</code> and <code>Y</code> coordinates of the EC public key.</p>
  
  <p>How do I make a <code>org.bouncycastle.jce.interfaces.ECPublicKey</code> out of them?</p>
  
  <p>I've read <a href="https://stackoverflow.com/a/29355749/5453873">https://stackoverflow.com/a/29355749/5453873</a> but the code there uses <code>java.security...</code> instead of <code>org.bouncycastle...</code> and ECPublicKey is an interface in <code>org.bouncycastle...</code> not an instantiable class.</p>