Skip to content

Commit 6402a82

Browse files
Jan Jahodagewarren
authored andcommitted
Revert "Add ssl API added between preview 7 and 8 (dotnet#4860)" (dotnet#4868)
This reverts commit 10d2b88.
1 parent 537f13c commit 6402a82

File tree

6 files changed

+29
-60
lines changed

6 files changed

+29
-60
lines changed

xml/System.Net.Http/WinHttpHandler.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,8 @@ When this property is set to `true`, all HTTP redirect responses from the server
416416
<ReturnType>System.Boolean</ReturnType>
417417
</ReturnValue>
418418
<Docs>
419-
<summary>Gets or sets a value that indicates whether additional HTTP/2 connections can be established to the same server when the maximum number of concurrent streams is reached on all existing connections.</summary>
420-
<value>
421-
<see langword="true" /> if additional HTTP/2 connections are allowed to be created; otherwise, <see langword="false" />.</value>
419+
<summary>To be added.</summary>
420+
<value>To be added.</value>
422421
<remarks>To be added.</remarks>
423422
</Docs>
424423
</Member>

xml/System.Net.Security/ServerOptionsSelectionCallback.xml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,12 @@
2222
<ReturnType>System.Threading.Tasks.ValueTask&lt;System.Net.Security.SslServerAuthenticationOptions&gt;</ReturnType>
2323
</ReturnValue>
2424
<Docs>
25-
<param name="stream">The TLS stream on which the authentication happens.</param>
26-
<param name="clientHelloInfo">Information from the Client Hello message.</param>
27-
<param name="state">The information that was passed when registering the callback.</param>
28-
<param name="cancellationToken">The token to monitor for cancellation requests.</param>
29-
<summary>The asynchronous callback to select session properties based on name requested by client.</summary>
30-
<returns>A server authentication property bag.</returns>
31-
<remarks>
32-
<format type="text/markdown"><![CDATA[
33-
34-
This delegate provides authentication properties during the server authenticaton as an asynchronous operation.
35-
36-
]]></format>
37-
</remarks>
25+
<param name="stream">To be added.</param>
26+
<param name="clientHelloInfo">To be added.</param>
27+
<param name="state">To be added.</param>
28+
<param name="cancellationToken">To be added.</param>
29+
<summary>To be added.</summary>
30+
<returns>To be added.</returns>
31+
<remarks>To be added.</remarks>
3832
</Docs>
3933
</Type>

xml/System.Net.Security/SslClientHelloInfo.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<ReturnType>System.String</ReturnType>
4141
</ReturnValue>
4242
<Docs>
43-
<summary>The host server specified by the client.</summary>
43+
<summary>To be added.</summary>
4444
<value>To be added.</value>
4545
<remarks>To be added.</remarks>
4646
</Docs>
@@ -61,8 +61,8 @@
6161
<ReturnType>System.Security.Authentication.SslProtocols</ReturnType>
6262
</ReturnValue>
6363
<Docs>
64-
<summary>Gets or sets the TLS/SSL protocols offered by client.</summary>
65-
<value>A bitwise combination of the enumeration values that specify the TLS or SSL protocols.</value>
64+
<summary>To be added.</summary>
65+
<value>To be added.</value>
6666
<remarks>To be added.</remarks>
6767
</Docs>
6868
</Member>

xml/System.Net.Security/SslServerAuthenticationOptions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@
332332
<ReturnType>System.Net.Security.SslStreamCertificateContext</ReturnType>
333333
</ReturnValue>
334334
<Docs>
335-
<summary>Gets or sets the server certificate context.</summary>
336-
<value>The server certificate context.</value>
335+
<summary>To be added.</summary>
336+
<value>To be added.</value>
337337
<remarks>To be added.</remarks>
338338
</Docs>
339339
</Member>

xml/System.Net.Security/SslStream.xml

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@
13991399
]]></format>
14001400
</remarks>
14011401
<exception cref="T:System.ArgumentNullException">
1402-
Either <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateSelectionCallback" /> or <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificate" /> or <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateContext" /> is <see langword="null" /> and <see cref="T:System.Net.Security.LocalCertificateSelectionCallback" /> is not set in the <see langword="SslStream" /> constructor.</exception>
1402+
Either <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateSelectionCallback" /> or <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificate" /> is <see langword="null" /> and <see cref="T:System.Net.Security.LocalCertificateSelectionCallback" /> is not set in the <see langword="SslStream" /> constructor.</exception>
14031403
<exception cref="T:System.ArgumentNullException">
14041404
<paramref name="sslServerAuthenticationOptions" /> is <see langword="null" />.</exception>
14051405
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
@@ -1438,33 +1438,12 @@
14381438
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" Index="2" FrameworkAlternate="net-5.0" />
14391439
</Parameters>
14401440
<Docs>
1441-
<param name="optionsCallback">The callback delegate.</param>
1442-
<param name="state">The state object to pass to <paramref name="optionsCallback" /> when the callback is invoked.</param>
1443-
<param name="cancellationToken">The token to monitor for cancellation requests.</param>
1444-
<summary>Called by servers to authenticate the server and optionally the client in a client-server connection as an asynchronous operation. The authentication process uses information returned by <paramref name="optionsCallback" />.</summary>
1445-
<returns>The task object representing the asynchronous operation.</returns>
1446-
<remarks>
1447-
<format type="text/markdown"><![CDATA[
1448-
1449-
## Remarks
1450-
1451-
If the authentication fails, you receive a <xref:System.Security.Authentication.AuthenticationException>, and this <xref:System.Net.Security.SslStream> is no longer useable. You should close this object and remove all references to it so that it can be collected by the garbage collector.
1452-
1453-
]]></format>
1454-
</remarks>
1455-
<exception cref="T:System.ArgumentNullException">
1456-
Either <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateSelectionCallback" /> or <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificate" /> or <see cref="P:System.Net.Security.SslServerAuthenticationOptions.ServerCertificateContext" /> is <see langword="null" /> and <see cref="T:System.Net.Security.LocalCertificateSelectionCallback" /> is not set in the <see langword="SslStream" /> constructor.</exception>
1457-
<exception cref="T:System.Security.Authentication.AuthenticationException">The authentication failed and left this object in an unusable state.</exception>
1458-
<exception cref="T:System.InvalidOperationException">Authentication has already occurred.
1459-
1460-
-or-
1461-
1462-
Client authentication using this <see cref="T:System.Net.Security.SslStream" /> was tried previously.
1463-
1464-
-or-
1465-
1466-
Authentication is already in progress.</exception>
1467-
<exception cref="T:System.ObjectDisposedException">This object has been closed.</exception>
1441+
<param name="optionsCallback">To be added.</param>
1442+
<param name="state">To be added.</param>
1443+
<param name="cancellationToken">To be added.</param>
1444+
<summary>To be added.</summary>
1445+
<returns>To be added.</returns>
1446+
<remarks>To be added.</remarks>
14681447
</Docs>
14691448
</Member>
14701449
<Member MemberName="AuthenticateAsServerAsync">
@@ -4367,8 +4346,8 @@ This property gets the cipher suite that is going to be used in the communicatio
43674346
<ReturnType>System.String</ReturnType>
43684347
</ReturnValue>
43694348
<Docs>
4370-
<summary>Gets the name of the server the client is trying to connect to. That name is used for server certificate validation. It can be a DNS name or an IP address.</summary>
4371-
<value>The name of the server the client is trying to connect to.</value>
4349+
<summary>To be added.</summary>
4350+
<value>To be added.</value>
43724351
<remarks>To be added.</remarks>
43734352
</Docs>
43744353
</Member>

xml/System.Net.Security/SslStreamCertificateContext.xml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</Base>
1515
<Interfaces />
1616
<Docs>
17-
<summary>Represents a set of certificates used for building a certificate chain.</summary>
17+
<summary>To be added.</summary>
1818
<remarks>To be added.</remarks>
1919
</Docs>
2020
<Members>
@@ -38,15 +38,12 @@
3838
<Parameter Name="offline" Type="System.Boolean" />
3939
</Parameters>
4040
<Docs>
41-
<param name="target">The server certificate.</param>
42-
<param name="additionalCertificates">The certificates to chain.</param>
43-
<param name="offline">
44-
<see langword="true" /> to indicate that the missing certificates can be downloaded; otherwise, <see langword="false" />.</param>
45-
<summary>Attempts to build the certificate chain from the provided certificates.</summary>
46-
<returns>The certificate context with the newly created certificate chain.</returns>
41+
<param name="target">To be added.</param>
42+
<param name="additionalCertificates">To be added.</param>
43+
<param name="offline">To be added.</param>
44+
<summary>To be added.</summary>
45+
<returns>To be added.</returns>
4746
<remarks>To be added.</remarks>
48-
<exception cref="T:System.NotSupportedException">
49-
<paramref name="target" /> doesn't have an associated private key.</exception>
5047
</Docs>
5148
</Member>
5249
</Members>

0 commit comments

Comments
 (0)