CSecureSocketLibraryLoader Class Reference

class CSecureSocketLibraryLoader : public CBase

Factory class for creating secure sockets.

Since
v6.2

Inherits from

Member Functions Documentation

FindItemInDbL(const TDesC &, TDes &)

void FindItemInDbL ( const TDesC & aProtocolName,
TDes & aLibraryName
) [static]

Opens the Commdb and locates the DLL name for a protocol.

Exceptions
This

function will leave if the protocol was not found or in OOM conditions.

Parameters

const TDesC & aProtocolName A reference to a descriptor containing the protocol name, i.e. tls1.0, ssl3.0. Case is ignored.
TDes & aLibraryName On return, name of the library.

OpenL(const TDesC &, TSecSockDllLibraryFunction &)

TInt OpenL ( const TDesC & aProtocolName,
TSecSockDllLibraryFunction & anEntryPoint
) [static]

Opens the protocol library. Attempts to load the secure socket implementation DLL for the requested protocol type.

Parameters

const TDesC & aProtocolName A reference to a descriptor containing the protocol name, i.e. tls1.0, ssl3.0. Case is ignored.
TSecSockDllLibraryFunction & anEntryPoint Entry point into the secureSocket plug-in.

OpenL(const TDesC &, TSecSockDllLibraryGenericFunction &)

TInt OpenL ( const TDesC & aProtocolName,
TSecSockDllLibraryGenericFunction & aEntryPoint
) [static]

Parameters

const TDesC & aProtocolName
TSecSockDllLibraryGenericFunction & aEntryPoint

OpenWithIdL(TInt, const TDesC &, TLibraryFunction &)

void OpenWithIdL ( TInt aId,
const TDesC & aProtocolName,
TLibraryFunction & aEntryPoint
) [private, static]

Opens the protocol library. Attempts to load the secure socket implementation DLL for the requested protocol type.

Parameters

TInt aId
const TDesC & aProtocolName A reference to a descriptor containing the protocol name, i.e. tls1.0, ssl3.0. Case is ignored.
TLibraryFunction & aEntryPoint Entry point into the secureSocket plug-in.

Unload()

IMPORT_C void Unload ( ) [static]

Closes and unloads the implementation library.