CSecureSocketLibraryLoader Class Reference

class CSecureSocketLibraryLoader : public CBase

Factory class for creating secure sockets.

Since
v6.2

Inherits from

  • CSecureSocketLibraryLoader

Member Functions Documentation

FindItemInDbL(const TDesC &, TDes &)

voidFindItemInDbL(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 & aProtocolNameA reference to a descriptor containing the protocol name, i.e. tls1.0, ssl3.0. Case is ignored.
TDes & aLibraryNameOn 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 & aProtocolNameA reference to a descriptor containing the protocol name, i.e. tls1.0, ssl3.0. Case is ignored.
TSecSockDllLibraryFunction & anEntryPointEntry 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 &)

voidOpenWithIdL(TIntaId,
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 & aProtocolNameA reference to a descriptor containing the protocol name, i.e. tls1.0, ssl3.0. Case is ignored.
TLibraryFunction & aEntryPointEntry point into the secureSocket plug-in.

Unload()

IMPORT_C voidUnload()[static]

Closes and unloads the implementation library.