How do I read X509v3 extension fields from a certificate? I iterated through AllKeys
in HttpClientCertificate
but that contains only the regular fields of the certificate & not the extension fields.
HttpClientCertificate cs = Request.ClientCertificate;
foreach (String s1 in cs.AllKeys)
Response.Write( s1 + ":" + cs[s1] + "<br>");
So how do I read the extension fields?