#include <SecureSocket.h>
Inheritance diagram for OW32::CSecureSocket:
Public Member Functions | |
CSecureSocket (SOCKET s) | |
virtual bool | negotiate ()=0 |
virtual int | send (const char *buf, int len) |
virtual int | recv (char *buf, int len) |
void | setCredentials (CredHandle hCreds) |
void | setRequireClientAuth (bool bRequireClientAuth) |
SECURITY_STATUS | getRemoteCert (PCCERT_CONTEXT *pRemoteCertContext) |
void | freeCredentials () |
Static Public Member Functions | |
SECURITY_STATUS | createCredentialsFromCertificate (CredHandle *phCreds, PCCERT_CONTEXT pCertContext, DWORD dwDirection, DWORD dwEnabledProtocols=0) |
Protected Member Functions | |
virtual SECURITY_STATUS | handshakeLoop (bool fDoInitialRead)=0 |
SECURITY_STATUS | querySizes () |
Protected Attributes | |
SecPkgContext_StreamSizes | m_Sizes |
CtxtHandle | m_hContext |
CredHandle | m_hCreds |
auto_array_ptr< char > | m_Extra |
int | m_ExtraCount |
int | m_ExtraDecrypted |
int | m_ExtraDecryptedPos |
auto_array_ptr< char > | m_SendBuf |
bool | m_bRequireClientAuth |
bool | m_bHandshakeDone |
bool | m_ownCredentials |