How can I compare two X509Certificate2 objects?
I need to find whether two certificates are same. It’s for user authentication purpose and I need to find if both the certificates are of the same person.
Can I use its serial number or thumprint properties? or is there any other methods?
Also I am new to this and would like to know is it safe to use X509Certificate for user authentication?
A thumbprint is a unique value for the certificate, it is commonly used to find a particular certificate in a certificate store. More…
The serial number is a unique number issued by the certificate issuer. More…