Skip to content

Commit d3e4d09

Browse files
Jan JahodaJan Jahodamairaw
authored
ServerCertificateSelectionCallback - update documentation (#4351)
* ServerCertificateSelectionCallback - update documentation * Apply suggestions from code review Co-authored-by: Maira Wenzel <[email protected]> * Apply PR comments Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Maira Wenzel <[email protected]>
1 parent fe23cad commit d3e4d09

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

xml/System.Net.Security/ServerCertificateSelectionCallback.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,20 @@
2929
<ReturnType>System.Security.Cryptography.X509Certificates.X509Certificate</ReturnType>
3030
</ReturnValue>
3131
<Docs>
32-
<param name="sender">To be added.</param>
33-
<param name="hostName">To be added.</param>
34-
<summary>To be added.</summary>
35-
<returns>To be added.</returns>
36-
<remarks>To be added.</remarks>
32+
<param name="sender">A <see cref="T:System.Net.Security.SslStream" /> object.</param>
33+
<param name="hostName">The host name requested by the client. If the client doesn't use the host_name TLS extension, the <paramref name="hostName" /> is an empty string.</param>
34+
<summary>Selects the server Secure Sockets Layer (SSL) certificate.</summary>
35+
<returns>An <see cref="T:System.Security.Cryptography.X509Certificates.X509Certificate" /> used for establishing an SSL connection.</returns>
36+
<remarks>
37+
<format type="text/markdown"><![CDATA[
38+
39+
## Remarks
40+
41+
The server uses this delegate to select a server connection certificate.
42+
43+
This delegate is used by the <xref:System.Net.Security.SslStream> class. The <xref:System.Net.Security.SslStream> class is used to help secure information exchanged between a client and server.
44+
45+
]]></format>
46+
</remarks>
3747
</Docs>
3848
</Type>

0 commit comments

Comments
 (0)