dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

X509Certificate2Collection.Find( ) documentation - missing information.

Open kevmeister68 opened this issue 2 months ago • 2 comments

Type of issue

Missing information

Description

  1. The validOnly parameter does not explain what "valid" actually means in the context of the Find operation. For example, does valid mean the current time is within the NotBefore and NotAfter times. Does it need to have a private key to be valid, etc?

  2. No type information is given in terms of the expected data type for each of the possible X509FindType enumerations. For example, to use FindByThumbprint do I supply a string as a thumbprint or a byte array?

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.x509certificates.x509certificate2collection.find?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml

Document Version Independent Id

cef8d31e-0f14-89e0-84af-f36fa4772084

Platform Id

05a90dcd-8bba-d4a7-2ee1-8924ccd75c38

Article author

@dotnet-bot

kevmeister68 avatar Oct 31 '25 06:10 kevmeister68