#include <AsyncSecureSocketClient.h>
Inheritance diagram for OW32::CAsyncSecureSocketClient< T >:
Public Member Functions | |
CAsyncSecureSocketClient (CAsyncSocketCallback *pCallback) | |
Construct an asynchronous secure socket client. | |
CAsyncSecureSocketClient (CAsyncSocketCallback *pCallback, SOCKET s) | |
Construct an asynchronous secure socket client. | |
virtual int | shutdown (int how) |
shutdown the connection | |
void | setServerName (LPCTSTR lpszServerName) |
Set the name of the remote server. | |
SECURITY_STATUS | setClientCertificate (PCCERT_CONTEXT pCertContext, DWORD dwEnabledProtocols=0) |
Set the certificate to be used when connecting. | |
SECURITY_STATUS | createNullCredentials (DWORD dwEnabledProtocols=0) |
Create empty credentials indicating an anonymous connection. | |
Static Public Member Functions | |
SECURITY_STATUS | createCredentialsFromCertificate (CredHandle *phCreds, PCCERT_CONTEXT pCertContext, DWORD dwEnabledProtocols=0) |
Create credentials from a certificate context. | |
Protected Member Functions | |
virtual void | negotiateLoop () |
negotiate the connection, called automatically by connect. |
|
Construct an asynchronous secure socket client.
|
|
Construct an asynchronous secure socket client.
|
|
Create credentials from a certificate context.
|
|
Create empty credentials indicating an anonymous connection.
|
|
negotiate the connection, called automatically by connect. If assigning an existing, connected socket handle then you will need to call this to conduct the appropriate SSL negotiation. Implements OW32::CAsyncSecureSocket< T >. |
|
Set the certificate to be used when connecting.
|
|
Set the name of the remote server.
|
|
shutdown the connection
|