-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add ssl API added between preview 7 and 8 #4860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,12 +22,18 @@ | |||||||||
| <ReturnType>System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions></ReturnType> | ||||||||||
| </ReturnValue> | ||||||||||
| <Docs> | ||||||||||
| <param name="stream">To be added.</param> | ||||||||||
| <param name="clientHelloInfo">To be added.</param> | ||||||||||
| <param name="state">To be added.</param> | ||||||||||
| <param name="cancellationToken">To be added.</param> | ||||||||||
| <summary>To be added.</summary> | ||||||||||
| <returns>To be added.</returns> | ||||||||||
| <remarks>To be added.</remarks> | ||||||||||
| <param name="stream">The TLS stream on which the authentication happens.</param> | ||||||||||
| <param name="clientHelloInfo">Represents an information from the Client Hello message.</param> | ||||||||||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||||||||||
| <param name="state">The information that was passed when registering the callback.</param> | ||||||||||
| <param name="cancellationToken">The token to monitor for cancellation requests.</param> | ||||||||||
| <summary>The asynchronous callback to select session properties based on name requested by client.</summary> | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Suggested change
|
||||||||||
| <returns>A server authentication property bag.</returns> | ||||||||||
| <remarks> | ||||||||||
| <format type="text/markdown"><![CDATA[ | ||||||||||
|
|
||||||||||
| This delegate provides authentication properties during the server authenticaton as an asynchronous operation. | ||||||||||
|
|
||||||||||
| ]]></format> | ||||||||||
| </remarks> | ||||||||||
| </Docs> | ||||||||||
| </Type> | ||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,7 +40,7 @@ | |
| <ReturnType>System.String</ReturnType> | ||
| </ReturnValue> | ||
| <Docs> | ||
| <summary>To be added.</summary> | ||
| <summary>The host server specified by the client.</summary> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would change that to "The host server specified by the client in Server Name extension (SNI). If the extension is not present this returns empty string. |
||
| <value>To be added.</value> | ||
| <remarks>To be added.</remarks> | ||
| </Docs> | ||
|
|
@@ -61,8 +61,8 @@ | |
| <ReturnType>System.Security.Authentication.SslProtocols</ReturnType> | ||
| </ReturnValue> | ||
| <Docs> | ||
| <summary>To be added.</summary> | ||
| <value>To be added.</value> | ||
| <summary>Gets or sets the TLS/SSL protocols offered by client.</summary> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There really should not be setter. Both properties are |
||
| <value>One of the values defined in the <see cref="T:System.Security.Authentication.SslProtocols" /> enumeration.</value> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| <remarks>To be added.</remarks> | ||
| </Docs> | ||
| </Member> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ | |
| </Base> | ||
| <Interfaces /> | ||
| <Docs> | ||
| <summary>To be added.</summary> | ||
| <summary>Represents a set of certificates used for building a certificate chain.</summary> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would add note that the certificates are normalized and if something is missing in constructed X509Chain, SslStream will try to resolve them - either by searching certificates stores or by fetching them via network if allowed. |
||
| <remarks>To be added.</remarks> | ||
| </Docs> | ||
| <Members> | ||
|
|
@@ -38,12 +38,13 @@ | |
| <Parameter Name="offline" Type="System.Boolean" /> | ||
| </Parameters> | ||
| <Docs> | ||
| <param name="target">To be added.</param> | ||
| <param name="additionalCertificates">To be added.</param> | ||
| <param name="offline">To be added.</param> | ||
| <summary>To be added.</summary> | ||
| <returns>To be added.</returns> | ||
| <param name="target">Server certificate.</param> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| <param name="additionalCertificates">Certificates used for build chain.</param> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| <param name="offline">Specify whether the missing certificates can be downloaded.</param> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| <summary>Try to build the certificate chain from provided certificates.</summary> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| <returns>The SslStreamCertificateContext witch certificate chain created.</returns> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| <remarks>To be added.</remarks> | ||
| <exception cref="T:System.NotSupportedException">The <paramref name="target" /> don't have associated private key.</exception> | ||
|
aik-jahoda marked this conversation as resolved.
Outdated
|
||
| </Docs> | ||
| </Member> | ||
| </Members> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.