Author: coder1 | Posted on: 8/9/2009 4:06:17 PM | Views : 464

Hello,
Goal:  What I would like to do is find out if a server/site cert was signed by a particular CA cert, given that I have both certs to test with on the local file system.

I've been looking at trying to do this for a few hours now and need some help.  Both certificates have public keys (no private keys), they have RSA keys with SHA1 hashes.

So basically given two certs, lets say CertA and CertB, how can I find out if CertB was signed by CertA?
What is described in the link below (using CryptVerifyCertificateSignature) is what I'd like to be able to do with managed code, preferebly C#: 
http://msdn.microsoft.com/en-us/library/aa380912%28VS.85%29.aspx
Thanks

...

Go to the complete details ...