pkcs8-pem-private: Keys in PKCS #8 (RFC 5958) PEM format format with the -----BEGIN PRIVATE KEY-----header. The most commonly used private key format. spki-pem-public: Subject Public Key Info (RFC ...