This is my scenario:
A CA signs a certificate with its private key and sends it to a client via https response. From this response the client creates a X509Certificate2 class, that represents the certificate in .NET
X509Certificate2 myCert = new X509Certificate2(certBuffer);
I also have the CA's public key to verify the signature
I am now looking for a way to check if the signature is valid. How can I do that? The X509Certificate2 class doesn't seem to provide a way to access the signature field.