Clarify CertificateChainPolicy property supersession in SSL authentication options#12335
Open
Clarify CertificateChainPolicy property supersession in SSL authentication options#12335
Conversation
…ssion Co-authored-by: rzikm <32671551+rzikm@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update XML API documentation for CertificateChainPolicy remarks
Clarify CertificateChainPolicy property supersession in SSL authentication options
Feb 19, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request improves the documentation for the CertificateChainPolicy property in SSL authentication options by clarifying property supersession behavior. The changes replace vague "ignored" language with explicit "superseded by" statements that include xref links to the corresponding X509ChainPolicy properties, making the API behavior more discoverable for developers.
Changes:
- Updated remarks for
SslClientAuthenticationOptions.CertificateChainPolicyto explicitly state which properties are superseded with links toX509ChainPolicy.RevocationMode,X509ChainPolicy.TrustMode, andX509ChainPolicy.CustomTrustStore - Updated remarks for
SslServerAuthenticationOptions.CertificateChainPolicywith the same supersession clarifications, plus a note that the trust list is still transmitted in the handshake
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| xml/System.Net.Security/SslServerAuthenticationOptions.xml | Updated CertificateChainPolicy remarks to clarify property supersession with xref links and preserve handshake behavior note |
| xml/System.Net.Security/SslClientAuthenticationOptions.xml | Updated CertificateChainPolicy remarks to clarify property supersession with xref links |
wfurt
approved these changes
Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The documentation for
CertificateChainPolicystated that certain properties are "ignored" when set, but didn't explain what supersedes them or link to the relevant properties.Changes
Client and server authentication options: Replaced "ignored" language with explicit "superseded by" statements that link to the corresponding
X509ChainPolicypropertiesCertificateRevocationCheckMode→X509ChainPolicy.RevocationModeX509ChainPolicy.TrustModeandX509ChainPolicy.CustomTrustStoreServer-specific behavior: Preserved the note that the trust list is still transmitted in the handshake even when superseded
This makes the API behavior more discoverable and clarifies which properties developers should configure on the chain policy instead.
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.