Skip to content

Commit 0bdf9e4

Browse files
rzikmgewarren
andauthored
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 2e9a5bf commit 0bdf9e4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

xml/System.Net.Security/SslClientAuthenticationOptions.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,17 @@
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</summary>
196+
<summary>Gets or sets an optional customized policy for remote certificate validation.</summary>
197197
<value>To be added.</value>
198198
<remarks>
199199
<format type="text/markdown"><![CDATA[
200200
201201
## Remarks
202202
203-
When the value of this property is not `null`, the value of the <xref:System.Net.Security.SslClientAuthenticationOptions.CertificateRevocationCheckMode> property is ignored.
203+
When the value of this property is not `null`:
204204
205-
When the value of this property is not `null`, any <xref:System.Net.Security.SslCertificateTrust> associated with the <xref:System.Net.Security.SslClientAuthenticationOptions.ClientCertificateContext> is ignored.
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.
206207
]]></format>
207208
</remarks>
208209
</Docs>

xml/System.Net.Security/SslServerAuthenticationOptions.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,17 @@
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</summary>
192+
<summary>Gets or sets an optional customized policy for remote certificate validation.</summary>
193193
<value>To be added.</value>
194194
<remarks>
195195
<format type="text/markdown"><![CDATA[
196196
197197
## Remarks
198198
199-
When the value of this property is not `null`, the value of the <xref:System.Net.Security.SslServerAuthenticationOptions.CertificateRevocationCheckMode> property is ignored.
199+
When the value of this property is not `null`:
200200
201-
When the value of this property is not `null` and a <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 will not be used when verifying any client authentication certificates.
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.
202203
]]></format>
203204
</remarks>
204205
</Docs>

0 commit comments

Comments
 (0)