Java BouncyCastle ECC Keys and Self Signed Certificates
问题 I've been scouring the internet for hours looking for a Java example for creating Elliptic Curve (EC) keys and self signed certificates. So far I've only found snippets and examples, many of which do not work. UPDATE: I've made some progress here, here's my code for anybody that might find it useful! Just need to work out how to self sign it now! import org.bouncycastle.asn1.x500.X500Name; import org.bouncycastle.jce.ECNamedCurveTable; import org.bouncycastle.jce.provider.BouncyCastleProvider