I am trying to generate CSR(Certificate Signing Request) with the keys generated from HSM.
I am able to convert HSM RSA public key to java.security RSAPublicKey with modulus and public_exponent.
I am NOT able to convert HSM ECDSA public key to java.security EC PublicKey. I have Curve name(SECP256R1) and the EcPoint value for the public key I generated from HSM.
Can someone help on this?
Thanks!!