Closed vcsjones closed 3 weeks ago
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones
Learn Build status updates of commit bb8b050:
File | Status | Preview URL | Details |
---|---|---|---|
xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
Summary
The
Thumbprint
property onX509Certificate2
always uses SHA-1 as the hash algorithm. I added a remark to the property indicating that to get the thumbprint using a different algorithm, such as SHA-256, they should useGetCertHashString
. It is not always obvious to some people that the thumbprint of the cert and its hash are the same thing.