code: public static String toPemFormat(final PrivateKey privateKey) throws IOException
  	{
  		return PemObjectReader.toPemFormat(
  			new PemObject(PrivateKeyReader.RSA_PRIVATE_KEY, toPKCS1Format(privateKey)));
  	}
docs: Transform the given private key that is in PKCS1 format and returns a {@link String} object
  in pem format.
  
  @param privateKey
  the private key
  @return the {@link String} object in pem format generated from the given private key.
  @throws IOException
  Signals that an I/O exception has occurred.