Exploit databaseDownload repository ZIP
GH-88d8bc551618926a04536090300b4292
dungnm24/cve-2020-0796
Sources for CVE-2020-0796
81 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files24
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- IAcceptable.cs
- IConnectable.cs
- IDisconnectable.cs
- ILocalTarget.cs
- INetbiosClient.cs
- INetbiosServer.cs
- IQuicClient.cs
- IQuicServer.cs
- ISource.cs
- ISourceReceive.cs
- ISourceSend.cs
- ISpecialTarget.cs
- ISslClient.cs
- ISslServer.cs
- IStartable.cs
- IStream.cs
- ITarget.cs
- ITargetReceive.cs
- ITargetSend.cs
- ITcpClient.cs
- ITcpServer.cs
- ITransport.cs
- IUdpClient.cs
- IUdpServer.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/TransportStack/Interfaces/ISslClient.cs
C# · 2,144 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
namespace Microsoft.Protocols.TestTools.StackSdk.Transport
{
/// <summary>
/// the interfaces for ssl client<para/>
/// provides ssl client authenticate services<para/>
/// such as TcpClient.
/// </summary>
internal interface ISslClient : ITransport
{
/// <summary>
/// startup the ssl security provider.<para/>
/// must invoke it before connect to server.<para/>
/// the underlayer transport must be TcpClient.
/// </summary>
/// <param name="targetHost">
/// a string that indicates the name of the server that shares the SSL/TLS.
/// </param>
/// <exception cref="InvalidOperationException">
/// thrown when the underlayer transport is not TcpClient.
/// </exception>
void Startup(string targetHost);
/// <summary>
/// startup the ssl security provider.<para/>
/// must invoke it before connect to server.<para/>
/// the underlayer transport must be TcpClient.
/// </summary>
/// <param name="targetHost">
/// a string that indicates the name of the server that shares the SSL/TLS.
/// </param>
/// <param name="certificate">
/// a X509Certificate that specifies the certificate used to authenticate the client.
/// </param>
/// <param name="enabledSslProtocols">
/// The SslProtocols value that represents the protocol used for authentication.
/// </param>
/// <exception cref="ArgumentNullException">
/// thrown when certificate is null.
/// </exception>
/// <exception cref="InvalidOperationException">
/// thrown when the underlayer transport is not TcpClient.
/// </exception>
void Startup(string targetHost, X509Certificate certificate, SslProtocols enabledSslProtocols);
}
}