Go to the source code of this file.
Classes | |
class | CSecureServer |
class | CSecureServerSession |
class | CSecureServerSubSession |
Enumerations | |
enum | TSecureServerPanic { EBadRequest = 1, EDescriptorNonNumeric, EMainSchedulerError, EServerCreateServer, EServerStartServer, ECreateTrapCleanup, EBadSubsessionHandle, ESecureServerSecurityPolicy } |
Variables | |
const TUint | KDefaultHeapSize = 0x10000 |
const TInt | KSecureServerRangeCount = 5 |
const TInt | KSecureServerRanges [KSecureServerRangeCount] |
const CPolicyServer::TPolicyElement | KSecureServerElements [] |
const TUint8 | KSecureServerElementsIndex [KSecureServerRangeCount] |
const CPolicyServer::TPolicy | KSecureServerPolicy |
Definition in file secureserver.h.
enum TSecureServerPanic |
A set of panic numbers used when the example raises panics in response to programming errors. All panics raised by the example have the category SecureServer.
Definition at line 56 of file secureserver.h.
const TUint KDefaultHeapSize = 0x10000 |
The size of the heap to be allocated for the thread that runs the server. The constant is passed to the StartThread() function defined in secureclientandserver.h and implemented in secureserver.cpp.
Definition at line 49 of file secureserver.h.
const TInt KSecureServerRangeCount = 5 |
The server specifies 5 ranges of security policy. Each range undergoes a different security check.
Definition at line 96 of file secureserver.h.
const TInt KSecureServerRanges[KSecureServerRangeCount] |
{ 0, 5, 6, 11, 13 }
Ordered ranges of request numbers.
Definition at line 102 of file secureserver.h.
const CPolicyServer::TPolicyElement KSecureServerElements[] |
{ _INIT_SECURITY_POLICY_S0(0x70fffff0), {_INIT_SECURITY_POLICY_C1(ECapabilityReadDeviceData | ECapabilityWriteDeviceData), CPolicyServer::EFailClient} }
An array containing the unique set of policies used in this example.
Definition at line 130 of file secureserver.h.
const TUint8 KSecureServerElementsIndex[KSecureServerRangeCount] |
{ CPolicyServer::EAlwaysPass, 0, CPolicyServer::ECustomCheck, 1, CPolicyServer::ENotSupported }
An array of TUint8 values that specify the action to take for each range in KSecureServerRanges array.
Definition at line 146 of file secureserver.h.
const CPolicyServer::TPolicy KSecureServerPolicy |
{ CPolicyServer::EAlwaysPass, KSecureServerRangeCount, KSecureServerRanges, KSecureServerElementsIndex, KSecureServerElements }
The security policy of the server. This is passed to the constructor of the policy server. In this example, this is the constructor of the CSecureServer class.
Definition at line 180 of file secureserver.h.