Is the JDK standard EC KeyPairGenerator suitable for use with both ECDSA and ECDH algorithms?

I’ve seen various references on the web for generating Elliptic Curve KeyPairs in Java, and the two most commonly referenced examples (unsurprisingly) use the JDK default provider and BouncyCastle.

But what confuses me is th… Continue reading Is the JDK standard EC KeyPairGenerator suitable for use with both ECDSA and ECDH algorithms?