Add support for legacy PEM format private keys in EVP_PKEY_ASN1_METHOD.