News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
How to find a root certificate of a known certificate from the root store?  
by LEMBAS [lembas at myway dot com]
posted on 2003/12/24

I have a certificate object. How can I search and find the root certificate of my certificate from the root store?

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/01/12

Initialize a CertificateChain instance with your certificate. One you have the chain, call the GetCertificates method. This method returns an array of certificates. The certificate with the highest index is the root certificate [if it can be found].

by LEMBAS [lembas at myway dot com]
posted on 2004/01/16

doing what you said with a certificate in a smartcard doesn't work. the chain always have a "count" 1. No matter what you chooose as an additional certificate store in the certificatechain constructor.

But the thing is i can see its chain clearly in internet explorer's certificate view form.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.