Basically I have private key Priv (d,n) of RSA where M= Cd mod(n).
I know the numbers (d and n), and I have the public key PEM file.
I want to generate the private key PEM file to use for decrypt a message using OPENSSL.
Anyone know how to do this (in Java, if it's possible)?