huysentruitw / pem-utils

Managed .NET (C#) utility library for working with PEM files with DER/ASN.1 encoding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible to construct X509Certificate2 with private key?

hanabi1224 opened this issue · comments

Can you elaborate what you're trying to do?

With net core standard library, a X509Certificate2 with private key can only be constructed from a pfx cert file. My question is that, does pem-utils provides APIs to constructe a X509Certificate2 from pem files. Please let me know if that does not make sense.