ECPrivateKey to ECPublicKey without BouncyCastle I’m trying to get the public key of EC from a private key.