Skip to content

LocalCertificateSelectionCallback needs to document what happens if you can't find a suitable certificate to use #11112

Closed
@MCFHTAGENTS

Description

@MCFHTAGENTS

Type of issue

Typo

Description

This is a callback function that returns a X509Certificate. What is the desired behaviour if no acceptable certificate can be found. It can't return Null but might reasonably expect an exception be thrown.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.net.security.localcertificateselectioncallback?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Net.Security/LocalCertificateSelectionCallback.xml

Document Version Independent Id

049f2b57-9db1-a5de-1414-41b62b14c960

Platform Id

21e0151e-7b33-42f4-1e93-d366a70f6e9d

Article author

@karelz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions