I have a pkcs12 file that contains two certificates. I'm using X509Certificate2 class like this:X509Certificate2 cert = new X509Certificate2();cert.Import(fileBytes, pwd, X509KeyStorageFlags.DefaultKeySet);file is in byte array fileBytes.The problem is that I can't define which one of the two certs to import.Is there any way to import a specific certificate from the file?Thanks in advance.
View Complete Post