The private key
Optionalpassphrase: stringThe passphrase for the private key if it is encrypted
Optionalname: stringThe name of the private key (i.e. the name of the file it came from, if applicable); used for error handling
The unencrypted PKCS#8 PEM encoded private key
Parses a private key and returns it as an unencrypted PKCS#8 PEM encoded string Supported private key formats include: