Skip to content
Advertisement

Tag: key-management

How to retrieve my public and private key from the keystore we created

My task is the following: Retrieve my public and private key from the keystore I created. Use these keys to encrypt a paragraph using my RSA 2048-bit public key. Digitally sign the result using the DSA-SHA-1 signature algorithm. Save the digital signature output on a file called output.dat. The program below is throwing error : “java.security.InvalidKeyException: No installed provider supports

Advertisement