-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
Docs Build status updates of commit 35e8a29: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
xml/System.Net.Security/SslStream.xml
For more details, please refer to the build report. If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
35e8a29
to
d8d1289
Compare
Docs Build status updates of commit d8d1289: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
xml/System.Net.Security/SslStream.xml
For more details, please refer to the build report. If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
<param name="clientHelloInfo">Represents an information from the Client Hello message.</param> | ||
<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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>The asynchronous callback to select session properties based on name requested by client.</summary> | |
<summary>Represents the asynchronous callback method that will select session properties based on name requested by client.</summary> |
<summary>The asynchronous callback to select session properties based on name requested by client.</summary> | |
<summary>The asynchronous callback to select session properties based on the name requested by the client.</summary> |
Co-authored-by: Genevieve Warren <[email protected]>
Docs Build status updates of commit ba345f8: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
xml/System.Net.Security/SslStream.xml
For more details, please refer to the build report. If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. For any questions, please:
|
Docs Build status updates of commit 4fb4f93: ✅ Validation status: passed
For more details, please refer to the build report. Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report. For any questions, please:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left few notes.
@@ -40,7 +40,7 @@ | |||
<ReturnType>System.String</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>The host server specified by the client.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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.
@@ -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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There really should not be setter. Both properties are readonly
.
@@ -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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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.
<summary>To be added.</summary> | ||
<returns>To be added.</returns> | ||
<param name="target">The server certificate.</param> | ||
<param name="additionalCertificates">The certificates to chain.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change this to something like "Supplemental certificates to build the certificate chain."
It is not quarantined that all the certificates will be used and sent out.
<param name="target">The server certificate.</param> | ||
<param name="additionalCertificates">The certificates to chain.</param> | ||
<param name="offline"> | ||
<see langword="true" /> to indicate that the missing certificates can be downloaded; otherwise, <see langword="false" />.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise only available X509Certificate stores will be searched for missing certificates.
<param name="offline"> | ||
<see langword="true" /> to indicate that the missing certificates can be downloaded; otherwise, <see langword="false" />.</param> | ||
<summary>Attempts to build the certificate chain from the provided certificates.</summary> | ||
<returns>The certificate context with the newly created certificate chain.</returns> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add note that it can be used across many streams to save chain construction and improve performance.
Provided certificates should not be disposed. CertificateContext does not copy them but uses references.
<param name="offline">To be added.</param> | ||
<summary>To be added.</summary> | ||
<returns>To be added.</returns> | ||
<param name="target">The server certificate.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add bold comment that the certificate must include private key.
This reverts commit 10d2b88.
* Automatic port of System.OperatingSystem docs for RC2 (#4852) Co-authored-by: carlossanlop <[email protected]> * Add Missing System.Diagnostics docs (#4856) * Add Missing System.Diagnostics docs * Apply suggestions from code review Co-authored-by: Carlos Sanchez <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]> * Automatically port System.Diagnostics docs for RC2 (#4853) * Automatically port System.Diagnostics docs for RC2 * Update xml/System.Diagnostics/ActivitySamplingResult.xml Co-authored-by: Carlos Sanchez <[email protected]> * Update xml/System.Diagnostics/Process.xml Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Tarek Mahmoud Sayed <[email protected]> * Automatic port of RegexParse* documentation (#4850) * Automatic port of RegexParse* documentation * Update xml/System.Text.RegularExpressions/RegexParseError.xml * Apply suggestions from code review * Update RegexParseException * Update xml/System.Text.RegularExpressions/RegexParseException.xml * Update xml/System.Text.RegularExpressions/RegexParseException.xml Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Prashanth Govindarajan <[email protected]> * Add ssl API added between preview 7 and 8 (#4860) * Automatic port of Reflection RC2 documentation (#4851) * Revert "Add ssl API added between preview 7 and 8 (#4860)" (#4868) This reverts commit 10d2b88. * Add ssl API added between preview 7 and 8 #2 (#4869) * Add ssl API added between preview 7 and 8 * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> * Update xml/System.Net.Security/SslStream.xml * Apply @wfurt comments * Add missing remark headers * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> * Documentation for System.Net.Http.SocketsHttpHandler.ConnectCallback (#4861) * Documentation for System.Net.Http.SocketsHttpHandler.ConnectCallback * Apply PR comments * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> * Add a remark to AddEvent method (#4871) * Add a remark to AddEvent method * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> * Automatic port of CryptoStream docs (#4888) Co-authored-by: carlossanlop <[email protected]> * Automatic port of System.Buffers docs (#4882) Co-authored-by: carlossanlop <[email protected]> * resolve isprefix conflict * Automatic port of System.Data.Common docs (#4885) Co-authored-by: carlossanlop <[email protected]> * Automatic port of *PipeServerStreamAcl docs (#4880) * Automatic port of *PipeServerStreamAcl docs * Apply suggestions from code review Co-authored-by: Prashanth Govindarajan <[email protected]> Co-authored-by: David Cantú <[email protected]> * Apply suggestions from code review Co-authored-by: David Cantú <[email protected]> * Apply suggestions from code review * Update xml/System.IO.Pipes/AnonymousPipeServerStreamAcl.xml * Update xml/System.IO.Pipes/AnonymousPipeServerStreamAcl.xml Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Prashanth Govindarajan <[email protected]> Co-authored-by: David Cantú <[email protected]> * Automatic port of *OSPlatformAttribute docs (#4883) * Automatic port of *OSPlatformAttribute docs * Missing TargetPlatformAttribute constructor parameter description. * Apply suggestions from code review Co-authored-by: Buyaa <[email protected]> * Update xml/System.Runtime.Versioning/SupportedOSPlatformAttribute.xml Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Buyaa <[email protected]> * Document System.Enum (#4894) Co-authored-by: carlossanlop <[email protected]> * Document Half.op_Explicit APIs (#4893) * Document Half.op_Explicit APIs * Equals Co-authored-by: carlossanlop <[email protected]> * Automatic port of Rune.CompareTo EII (#4891) Co-authored-by: carlossanlop <[email protected]> * Add missing docs for AsnContentException. (#4895) * Add missing documentation for S.S.Cryptography (#4892) * Add missing documentation for S.S.Cryptography * Apply feedback * Automatic port of System.Threading.ExecutionContext.Restore doc (#4887) * Automatic port of System.Threading.ExecutionContext.Restore doc * Update xml/System.Threading/ExecutionContext.xml Co-authored-by: Prashanth Govindarajan <[email protected]> * Apply suggestions from code review Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Prashanth Govindarajan <[email protected]> * Automatic port of explicit interface implementation of System.Net.Http.HttpRequestOptions (#4881) * Automatic port of explicit interface implementations for System.Net.Http.HttpRequestOptions * Apply suggestions from code review Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> * Document Type.IsAssignableTo (#4898) Co-authored-by: carlossanlop <[email protected]> * Document System.PlatformID.Other (#4897) Co-authored-by: carlossanlop <[email protected]> * HTTP Version Selection (#4870) * Sync docs with source comments * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> * Apply suggestions from code review Co-authored-by: Carlos Sanchez <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> * Add values Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]> * HttpClient sync operations (#4776) * Draft for @ManickaP * Apply suggestions from code review Co-authored-by: Marie Píchová <[email protected]> * Format verification * Format verification * Fix links * Fix links * Fix xml tag * Fix links * Fix links * Fix links * Apply suggestions from code review Co-authored-by: Carlos Sanchez <[email protected]> * Fix links * Add CreateContentReadStream * Fix links * Add System.Net.Http.DelegatingHandler.Send * Fix links * Apply suggestions from code review Co-authored-by: Carlos Sanchez <[email protected]> * Remove "Synchronous" information from summary * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]> * Fix the exception description Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Marie Píchová <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> * adding docs for missing 5.0 apis for system.Runtime.CompilerServices.Unsafe (#4902) * adding docs for missing 5.0 apis * Apply suggestions from code review Co-authored-by: Carlos Sanchez <[email protected]> * resolve conflict * Add Sysytem.Net.* missing API (#4904) * System.Net.Http.SocketsHttpHandler.EnableMultipleHttp2Connections * Add Sysytem.Net.\* missing API * Apply PR comments * Apply suggestions from code review * Apply suggestions from code review * Update xml/System.Net.Http/SocketsHttpHandler.xml Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]> * Http sync follow up (#4905) * Add the http sync follow up * Fix closing tag Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Tarek Mahmoud Sayed <[email protected]> Co-authored-by: Prashanth Govindarajan <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: David Cantú <[email protected]> Co-authored-by: Buyaa <[email protected]> Co-authored-by: Jeremy Barton <[email protected]> Co-authored-by: Jan Jahoda <[email protected]> Co-authored-by: Marie Píchová <[email protected]> Co-authored-by: Anirudh Agnihotry <[email protected]>
Summary
Contains mainly SSL api.
One exception is System.Net.Http.WinHttpHandler.EnableMultipleHttp2Connections
fixes dotnet/runtime#42126