PEM encoding for OpenSSL RSA and EC public and private keys