1

I have a PKCS1 String of the form:

-----BEGIN RSA PRIVATE KEY-----
MIIC...
.
..
...
....S5m5x9yZY=
-----END PRIVATE KEY-----

How can I convert this string (in a file) to a java.security.PrivateKey object ?

Sankar
  • 5,634
  • 11
  • 58
  • 80

0 Answers0