DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
SslStream.cpp File Reference
#include "pch.h"
#include "System/Net/Security/SslStream.h"
#include "System/IOException.h"
#include "System/ArgumentException.h"
#include "System/ArgumentNullException.h"
#include <mutex>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/bio.h>

Go to the source code of this file.

Namespaces

namespace  DotNetDupe
namespace  DotNetDupe::System
namespace  DotNetDupe::System::Net
namespace  DotNetDupe::System::Net::Security

Functions

static SSL * DotNetDupe::System::Net::Security::CreateAndBindSsl (SSL_CTX *ctx, void *&pBioIn, void *&pBioOut)
static void DotNetDupe::System::Net::Security::FlushBioOutbound (void *pBioOut, const SmartPointer< IO::Stream > &spInnerStream)
static void DotNetDupe::System::Net::Security::HandleHandshakeError (int err, void *pBioIn, void *pBioOut, const SmartPointer< IO::Stream > &spStream)
static int DotNetDupe::System::Net::Security::HandleReadError (int err, const SmartPointer< IO::Stream > &spStream, void *pBioIn, void *pBioOut)
static void DotNetDupe::System::Net::Security::HandleWriteError (int err, const SmartPointer< IO::Stream > &spStream, void *pBioIn, void *pBioOut)
static void DotNetDupe::System::Net::Security::PumpNetworkToBio (IO::Stream *pStream, void *pBioIn, const char *pErrorContext)

Variables

static std::once_flag DotNetDupe::System::Net::Security::s_sslInitOnce