CSecEngine Class Reference

List of all members.

Public Member Functions

 ~CSecEngine ()
void ConnectL (const TConnectSettings &aConnectSettings)
void SetConsole (CConsoleBase &aConsole)
void SetOutputFile (RFile &aOutputFile)
TBool InUse ()

Static Public Member Functions

static CSecEngineNewL ()


Detailed Description

Manages connection to a SSL web server.

Definition at line 42 of file SecEngine.h.


Constructor & Destructor Documentation

CSecEngine::~CSecEngine (  ) 

Destructor.

Definition at line 69 of file SecEngine.cpp.


Member Function Documentation

CSecEngine * CSecEngine::NewL (  )  [static]

Allocates and constructs a new engine.

Returns:
New object

Definition at line 53 of file SecEngine.cpp.

void CSecEngine::ConnectL ( const TConnectSettings aConnectSettings  ) 

Initiates the connection to a server and the transaction

Parameters:
aAddress Server address (e.g. www.nokia.com or dotted decimal format)
aPortNum Server port for secure web (e.g. 443)
aPage Web page to get from the server. The leading `/` should be included, e.g. /webpage.html.
aCipherSuite Cipher suites that client will tell server it supports (decimal). This should be in decimal, with 2 characters, ie for suites 3,7,8,9, this field would be 03070809. By entering a single `0` for this field, the SSL default cipher suites will be passed.
aCipher Cipher suite that server is expected to use (decimal). This is compared with actual cipher for pass/fail. If this field is 0, no comparisons with the actual cipher suite used will be made.

Definition at line 97 of file SecEngine.cpp.

void CSecEngine::SetConsole ( CConsoleBase &  aConsole  ) 

Sets the console to write messages to

Parameters:
aConsole The console

Definition at line 139 of file SecEngine.cpp.

void CSecEngine::SetOutputFile ( RFile &  aOutputFile  ) 

Sets the (opened) file to write server response to

Parameters:
aOutputFile The file

Definition at line 144 of file SecEngine.cpp.

TBool CSecEngine::InUse (  ) 

Tests if the connection is in progress.

Returns:
True if in progress else false

Definition at line 149 of file SecEngine.cpp.


Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by  doxygen 1.5.3