Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
CPolicyServer::TPolicyElement Class Reference

Class specifying a security check and the action to take. More...

#include <e32base.h>

Public Attributes

TStaticSecurityPolicy iPolicy
 Security policy to check against the client which sent a message.
 
TInt iAction
 Action to take on failure.
 

Detailed Description

Class specifying a security check and the action to take.

If iAction is >=0 it must be a member of TFailureAction If iAction is <0 it is assumed to specify a custom action specific to the derived implementation. In this case, CustomFailureActionL must be implemented by the derived class.

Definition at line 2518 of file e32base.h.

Member Data Documentation

◆ iAction

TInt CPolicyServer::TPolicyElement::iAction

Action to take on failure.

Either a value from TFailureAction or a negative value which has meaning to the CustomFailureActionL() method of a derived class.

Definition at line 2557 of file e32base.h.

◆ iPolicy

TStaticSecurityPolicy CPolicyServer::TPolicyElement::iPolicy

Security policy to check against the client which sent a message.

This class can specify a security policy consisting of either:

  1. A check for between 0 and 7 capabilities
  2. A check for a given Secure ID along with 0-3 capabilities
  3. A check for a given Vendor ID along with 0-3 capabilities

This member should only be initialised by one of the following macros:

  • _INIT_SECURITY_POLICY_PASS
  • _INIT_SECURITY_POLICY_FAIL
  • _INIT_SECURITY_POLICY_C1
  • _INIT_SECURITY_POLICY_C2
  • _INIT_SECURITY_POLICY_C3
  • _INIT_SECURITY_POLICY_C4
  • _INIT_SECURITY_POLICY_C5
  • _INIT_SECURITY_POLICY_C6
  • _INIT_SECURITY_POLICY_C7
  • _INIT_SECURITY_POLICY_S0
  • _INIT_SECURITY_POLICY_S1
  • _INIT_SECURITY_POLICY_S2
  • _INIT_SECURITY_POLICY_S3
  • _INIT_SECURITY_POLICY_V0
  • _INIT_SECURITY_POLICY_V1
  • _INIT_SECURITY_POLICY_V2
  • _INIT_SECURITY_POLICY_V3
See also
TPolicy

Definition at line 2551 of file e32base.h.


The documentation for this class was generated from the following file: