Export key or certificate
write_pem functions exports a key or certificate to the standard
base64 PEM format. For private keys it is possible to set a password.
write_pem(x, password = readline, path = NULL)
write_der(x, path = NULL)
- a public/private key or certificate object
- string or callback function to set password (only applicable for private keys).
- file to write to. If
NULLit returns the output as a string.
Looks like there are no examples yet.