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
  • 6,192
  • 12
  • 65
  • 89

0 Answers0