Skip to content

Commit 17e9266

Browse files
rzikmgewarren
andauthored
Fix reference to SslCertificateTrust on Ssl*AuthenticationOptions (#10505)
* Fix reference to SslCertificateTrust on Ssl*AuthenticationOptions * Fix build * Fix class name * Reword * Suggestions from code review * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> --------- Co-authored-by: Genevieve Warren <[email protected]>
1 parent 059c8fd commit 17e9266

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

xml/System.Net.Security/SslClientAuthenticationOptions.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,19 @@
193193
<ReturnType>System.Security.Cryptography.X509Certificates.X509ChainPolicy</ReturnType>
194194
</ReturnValue>
195195
<Docs>
196-
<summary>Gets or sets an optional customized policy for remote certificate validation. If not <see langword="null" />, <see cref="P:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode" /> and <see cref="T:System.Net.Security.SslCertificateTrust" /> are ignored.</summary>
196+
<summary>Gets or sets an optional customized policy for remote certificate validation.</summary>
197197
<value>To be added.</value>
198-
<remarks>To be added.</remarks>
198+
<remarks>
199+
<format type="text/markdown"><![CDATA[
200+
201+
## Remarks
202+
203+
When the value of this property is not `null`:
204+
205+
- The value of the <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode> property is ignored.
206+
- Any <xref:System.Net.Security.SslCertificateTrust> associated with the <xref:System.Net.Security.SslClientAuthenticationOptions.ClientCertificateContext> is ignored.
207+
]]></format>
208+
</remarks>
199209
</Docs>
200210
</Member>
201211
<Member MemberName="CertificateRevocationCheckMode">

xml/System.Net.Security/SslServerAuthenticationOptions.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,19 @@
189189
<ReturnType>System.Security.Cryptography.X509Certificates.X509ChainPolicy</ReturnType>
190190
</ReturnValue>
191191
<Docs>
192-
<summary>Gets or sets an optional customized policy for remote certificate validation. If not <see langword="null" />, <see cref="P:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode" /> and <see cref="T:System.Net.Security.SslCertificateTrust" /> are ignored.</summary>
192+
<summary>Gets or sets an optional customized policy for remote certificate validation.</summary>
193193
<value>To be added.</value>
194-
<remarks>To be added.</remarks>
194+
<remarks>
195+
<format type="text/markdown"><![CDATA[
196+
197+
## Remarks
198+
199+
When the value of this property is not `null`:
200+
201+
- The value of the <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode> property is ignored.
202+
- If an <xref:System.Net.Security.SslCertificateTrust> was provided to the value in the <xref:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateContext> property, the trust list `SslCertificateTrust` will be sent in the handshake (when so configured), but the trust settings from this property aren't used when verifying any client authentication certificates.
203+
]]></format>
204+
</remarks>
195205
</Docs>
196206
</Member>
197207
<Member MemberName="CertificateRevocationCheckMode">
@@ -494,4 +504,4 @@
494504
</Docs>
495505
</Member>
496506
</Members>
497-
</Type>
507+
</Type>

0 commit comments

Comments
 (0)