Public Member Functions | |
~CSecEngine () | |
void | ConnectL (const TConnectSettings &aConnectSettings) |
void | SetConsole (CConsoleBase &aConsole) |
void | SetOutputFile (RFile &aOutputFile) |
TBool | InUse () |
Static Public Member Functions | |
static CSecEngine * | NewL () |
Definition at line 42 of file SecEngine.h.
CSecEngine::~CSecEngine | ( | ) |
Destructor.
Definition at line 69 of file SecEngine.cpp.
CSecEngine * CSecEngine::NewL | ( | ) | [static] |
Allocates and constructs a new engine.
Definition at line 53 of file SecEngine.cpp.
void CSecEngine::ConnectL | ( | const TConnectSettings & | aConnectSettings | ) |
Initiates the connection to a server and the transaction
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
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
aOutputFile | The file |
Definition at line 144 of file SecEngine.cpp.
TBool CSecEngine::InUse | ( | ) |
Tests if the connection is in progress.
Definition at line 149 of file SecEngine.cpp.