Filter on x509certificate intended purpose
I'd like to get a list of personal x509certificates and filter them on the intended purpose (like IE does--tools->Content tab; click Certificates and at the top of the window is a combo box with 'Intended Purpose').
I can get an enumerator containing all of the personal certificates using x509CertificateStore. The x509Certificate class has GetName() for info on who the cert is for and GetIssuerName() for info on the issuer but I see nothing about how to find out the purpose of the cert.
I want a list of only the 'Client Authentication' certs. Any idea how?
Any help is most appreciated!!
If I've posted in the wrong category please direct me to the correct one - thanks!!
|