Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CSecureSocket Class Reference

SSL blocking socket. More...

#include <SecureSocket.h>

Inheritance diagram for OW32::CSecureSocket:

OW32::CSocket OW32::CSecureSocketClient OW32::CSecureSocketServer List of all members.

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

Detailed Description

SSL blocking socket.


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:27 2005 for OW32 by  doxygen 1.3.9.1