dotnet / dotnet/dotnet-api-docs

X509Certificate2Collection.Find( ) documentation - missing information.

Open
#11,994 2 comments 0 reactions 0 assignees View on GitHub
area-System.Security untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.