Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXFirewall2::CreateSSLNetworkSocket

The CreateSSLNetworkSocket method creates an SSL socket object that works with the dynamic packet filtering scheme.

HRESULT CreateSSLNetworkSocket(
  BOOL fAskForClientCert,
  LPSTR pszHostName,
  DWORD dwHostNameLen,
  LONG* pCreds,
  LONG* pDefaultCreds,
  FwxSSLSocketSide eSide,
  DWORD dwDefaultSendTimeout,
  DWORD dwDefaultRecvTimeout,
  BOOL fAllowHTTPSTunnelingMode,
  IFWXNetworkSocket** ppiSslSocket
);

Parameters

fAskForClientCert
[in] Boolean value that specifies whether a client certificate is requested.
pszHostName
[in] Pointer to a null-terminated string containing the name of the server you are trying to connect to. The pszHostName parameter is needed for authentication.
dwHostNameLen
[in] The length of the host name.
pCreds
[in] Pointer to a 32-bit integer that specifies the credentials of the socket creator.
pDefaultCreds
[in] Pointer to a 32-bit integer that specifies the default credentials, which do not include a user name.
eSide
[in] Value from the FwxSSLSocketSide enumerated type that specifies whether the socket is on the server side or client side of ISA Server.
Value Meaning
eServerSide The socket is on the server side.
eClientSide The socket is on the client side.
dwDefaultSendTimeout
[in] The default send time-out period.
dwDefaultRecvTimeout
[in] The default receive time-out period.
fAllowHTTPSTunnelingMode
[in] Boolean value that specifies whether HTTPS (SSL) tunneling mode is allowed.
ppiSslSocket
[out] Address of an interface pointer that on return points to the IFWXNetworkSocket interface created.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXFirewall2