|
23 | 23 | </Base> |
24 | 24 | <Interfaces /> |
25 | 25 | <Docs> |
26 | | - <summary>To be added.</summary> |
27 | | - <remarks>To be added.</remarks> |
| 26 | + <summary>This struct represents a server authentication property bag for the <see cref="T:System.Net.Security.SslStream" />.</summary> |
| 27 | + <remarks> |
| 28 | + <format type="text/markdown"><![CDATA[ |
| 29 | + |
| 30 | +## Remarks |
| 31 | + This property bag is used as argument for <xref:System.Net.Security.SslStream.AuthenticateAsServer%2A>, or <xref:System.Net.Security.SslStream.AuthenticateAsServerAsync%2A>. |
| 32 | + |
| 33 | + ]]></format> |
| 34 | + </remarks> |
28 | 35 | </Docs> |
29 | 36 | <Members> |
30 | 37 | <Member MemberName=".ctor"> |
|
46 | 53 | </AssemblyInfo> |
47 | 54 | <Parameters /> |
48 | 55 | <Docs> |
49 | | - <summary>To be added.</summary> |
| 56 | + <summary>Initializes a new instance of the <see cref="T:System.Net.Security.SslServerAuthenticationOptions" /> class.</summary> |
50 | 57 | <remarks>To be added.</remarks> |
51 | 58 | </Docs> |
52 | 59 | </Member> |
|
72 | 79 | <ReturnType>System.Boolean</ReturnType> |
73 | 80 | </ReturnValue> |
74 | 81 | <Docs> |
75 | | - <summary>To be added.</summary> |
76 | | - <value>To be added.</value> |
| 82 | + <summary>Gets or sets a value that indicates whether the <see cref="T:System.Net.Security.SslStream" /> should allow SSL renegotiation.</summary> |
| 83 | + <value><see langword="true" /> to indicate that the <see cref="T:System.Net.Security.SslStream" /> allow SSL renegotiation; otherwise, <see langword="false" />. The default value is <see langword="true" />.</value> |
77 | 84 | <remarks>To be added.</remarks> |
78 | 85 | </Docs> |
79 | 86 | </Member> |
|
99 | 106 | <ReturnType>System.Collections.Generic.List<System.Net.Security.SslApplicationProtocol></ReturnType> |
100 | 107 | </ReturnValue> |
101 | 108 | <Docs> |
102 | | - <summary>To be added.</summary> |
| 109 | + <summary>Gets or sets a list of ALPN protocols.</summary> |
103 | 110 | <value>To be added.</value> |
104 | 111 | <remarks>To be added.</remarks> |
105 | 112 | </Docs> |
|
126 | 133 | <ReturnType>System.Security.Cryptography.X509Certificates.X509RevocationMode</ReturnType> |
127 | 134 | </ReturnValue> |
128 | 135 | <Docs> |
129 | | - <summary>To be added.</summary> |
130 | | - <value>To be added.</value> |
131 | | - <remarks>To be added.</remarks> |
| 136 | + <summary>Gets or sets the certificate revocation mode for certificate validation.</summary> |
| 137 | + <value>One of the values in <see cref="T:System.Security.Cryptography.X509Certificates.X509RevocationMode" />: <see langword="NoCheck" />, <see langword="Online" />, or <see langword="Offline" />. The default is <see langword="Online" />.</value> |
| 138 | + <remarks> |
| 139 | + <format type="text/markdown"><. |
| 145 | + |
| 146 | + ]]></format> |
| 147 | + </remarks> |
| 148 | + <exception cref="T:System.ArgumentException"> |
| 149 | + The value contains an invalid enumeration value.</exception> |
132 | 150 | </Docs> |
133 | 151 | </Member> |
134 | 152 | <Member MemberName="CipherSuitesPolicy"> |
|
179 | 197 | <ReturnType>System.Boolean</ReturnType> |
180 | 198 | </ReturnValue> |
181 | 199 | <Docs> |
182 | | - <summary>To be added.</summary> |
| 200 | + <summary>Gets or sets a value that specifies whether the client is asked for a certificate for authentication. Note that this is only a request -- if no certificate is provided, the server still accepts the connection request.</summary> |
183 | 201 | <value>To be added.</value> |
184 | 202 | <remarks>To be added.</remarks> |
185 | 203 | </Docs> |
|
206 | 224 | <ReturnType>System.Security.Authentication.SslProtocols</ReturnType> |
207 | 225 | </ReturnValue> |
208 | 226 | <Docs> |
209 | | - <summary>To be added.</summary> |
210 | | - <value>To be added.</value> |
| 227 | + <summary>Gets or sets the <see cref="T:System.Security.Authentication.SslProtocols" /> value that represents protocols used for authentication.</summary> |
| 228 | + <value>The default value is <see cref="F:System.Security.Authentication.SslProtocols.None" />, which is the recommended value. See <see cref="T:System.Security.Authentication.SslProtocols" /> for more details.</value> |
211 | 229 | <remarks>To be added.</remarks> |
212 | 230 | </Docs> |
213 | 231 | </Member> |
|
233 | 251 | <ReturnType>System.Net.Security.EncryptionPolicy</ReturnType> |
234 | 252 | </ReturnValue> |
235 | 253 | <Docs> |
236 | | - <summary>To be added.</summary> |
237 | | - <value>To be added.</value> |
| 254 | + <summary>Gets or sets the <see cref="T:System.Net.Security.EncryptionPolicy" />.</summary> |
| 255 | + <value>The default value is <see cref="F:System.Net.Security.EncryptionPolicy.RequireEncryption" /></value> |
238 | 256 | <remarks>To be added.</remarks> |
| 257 | + <exception cref="T:System.ArgumentException"> |
| 258 | + The value contains an invalid enumeration value.</exception> |
239 | 259 | </Docs> |
240 | 260 | </Member> |
241 | 261 | <Member MemberName="RemoteCertificateValidationCallback"> |
|
260 | 280 | <ReturnType>System.Net.Security.RemoteCertificateValidationCallback</ReturnType> |
261 | 281 | </ReturnValue> |
262 | 282 | <Docs> |
263 | | - <summary>To be added.</summary> |
| 283 | + <summary>Gets or sets a <see cref="T:System.Net.Security.RemoteCertificateValidationCallback" /> delegate responsible for custom validating the certificate supplied by the remote party.</summary> |
264 | 284 | <value>To be added.</value> |
265 | 285 | <remarks>To be added.</remarks> |
266 | 286 | </Docs> |
|
287 | 307 | <ReturnType>System.Security.Cryptography.X509Certificates.X509Certificate</ReturnType> |
288 | 308 | </ReturnValue> |
289 | 309 | <Docs> |
290 | | - <summary>To be added.</summary> |
| 310 | + <summary>Gets or sets the server certificate.</summary> |
291 | 311 | <value>To be added.</value> |
292 | 312 | <remarks>To be added.</remarks> |
293 | 313 | </Docs> |
|
314 | 334 | <ReturnType>System.Net.Security.ServerCertificateSelectionCallback</ReturnType> |
315 | 335 | </ReturnValue> |
316 | 336 | <Docs> |
317 | | - <summary>To be added.</summary> |
| 337 | + <summary>Gets or sets the <see cref="T:System.Net.Security.ServerCertificateSelectionCallback" /> delegate responsible for the server certificate selection.</summary> |
318 | 338 | <value>To be added.</value> |
319 | | - <remarks>To be added.</remarks> |
| 339 | + <remarks> |
| 340 | + <format type="text/markdown"><![CDATA[ |
| 341 | + |
| 342 | +## Remarks |
| 343 | + During the server connection establishment, the server first uses <xref:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateSelectionCallback> callback. If the delegate is not provided server uses <xref:System.Net.Security.LocalCertificateSelectionCallback> provided as argument of <xref:System.Net.Security.SslStream.%23ctor%2a?displayProperty=nameWithType> (for the .NET Framework compatibility). If none/neither of those callback are provided, the server falls back to <xref:System.Net.Security.SslServerAuthenticationOptions.ServerCertificate>. |
| 344 | + |
| 345 | + ]]></format> |
| 346 | + </remarks> |
320 | 347 | </Docs> |
321 | 348 | </Member> |
322 | 349 | </Members> |
|
0 commit comments