Class containing Platform Security related methods.
More...
#include <e32cmn.h>
|
| static IMPORT_C TBool | IsCapabilityEnforced (TCapability aCapability) |
| |
| static IMPORT_C TInt | ConfigSetting (TConfigSetting aSetting) |
| |
| static TInt | LoaderCapabilityViolation (const TDesC8 &aImporterName, const TDesC8 &aFileName, const SCapabilitySet &aMissingCaps) |
| |
| static TInt | LoaderCapabilityViolation (RProcess aLoadingProcess, const TDesC8 &aFileName, const SCapabilitySet &aMissingCaps) |
| |
| static TInt | CreatorCapabilityCheckFail (TCapability aCapability, const char *aContextText) |
| |
| static TInt | CreatorCapabilityCheckFail (const TCapabilitySet &aMissingCaps, const char *aContextText) |
| |
| static TInt | CapabilityCheckFail (TInt aHandle, TCapability aCapability, const char *aContextText) |
| |
| static TInt | CapabilityCheckFail (TInt aHandle, const TCapabilitySet &aMissingCaps, const char *aContextText) |
| |
| static TInt | PolicyCheckFail (TInt aHandle, const SSecurityInfo &aMissing, const char *aContextText) |
| |
| static TInt | CapabilityCheckFail (RMessagePtr2 aMessage, TCapability aCapability, const char *aContextText) |
| |
| static TInt | CapabilityCheckFail (RMessagePtr2 aMessage, const TCapabilitySet &aMissingCaps, const char *aContextText) |
| |
| static TInt | PolicyCheckFail (RMessagePtr2 aMessage, const SSecurityInfo &aMissingCaps, const char *aContextText) |
| |
| static TInt | PolicyCheckFail (RSessionBase aSession, const SSecurityInfo &aMissingCaps, const char *aContextText) |
| |
| static TInt | CreatorPolicyCheckFail (const SSecurityInfo &aMissingCaps, const char *aContextText) |
| |
| static TInt | CreatorCapabilityCheckFail (TCapability aCapability) |
| |
| static TInt | CreatorCapabilityCheckFail (const TCapabilitySet &aMissingCaps) |
| |
| static TInt | CapabilityCheckFail (TInt aHandle, TCapability aCapability) |
| |
| static TInt | CapabilityCheckFail (TInt aHandle, const TCapabilitySet &aMissingCaps) |
| |
| static TInt | PolicyCheckFail (TInt aHandle, const SSecurityInfo &aMissing) |
| |
| static TInt | CapabilityCheckFail (RMessagePtr2 aMessage, TCapability aCapability) |
| |
| static TInt | CapabilityCheckFail (RMessagePtr2 aMessage, const TCapabilitySet &aMissingCaps) |
| |
| static TInt | PolicyCheckFail (RMessagePtr2 aMessage, const SSecurityInfo &aMissingCaps) |
| |
| static TInt | CreatorPolicyCheckFail (const SSecurityInfo &aMissingCaps) |
| |
| static UIMPORT_C TInt | EmitDiagnostic () |
| |
Class containing Platform Security related methods.
- API status
- Internal technology API.
Definition at line 4964 of file e32cmn.h.
◆ TConfigSetting
An enumeration used with PlatSecSetting()
@see PlatSecSetting()
@test
- API status
- Published to all clients.
| Enumerator |
|---|
| EPlatSecEnforcement | Used to request the value of the PlatSecEnforcement setting.
|
| EPlatSecDiagnotics | Used to request the value of the PlatSecDiagnotics setting.
|
| EPlatSecProcessIsolation | Used to request the value of the PlatSecProcessIsolation setting.
|
| EPlatSecEnforceSysBin | Used to request the value of the PlatSecEnforceSysBin setting.
|
| EPlatSecLocked | Used to request the value of the PlatSecLocked setting.
|
Definition at line 4996 of file e32cmn.h.
◆ CapabilityCheckFail() [1/8]
- API status
- Internal technology API.
◆ CapabilityCheckFail() [2/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
RMessagePtr2 |
aMessage, |
|
|
const TCapabilitySet & |
aMissingCaps, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CapabilityCheckFail() [3/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
RMessagePtr2 |
aMessage, |
|
|
TCapability |
aCapability |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CapabilityCheckFail() [4/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
RMessagePtr2 |
aMessage, |
|
|
TCapability |
aCapability, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CapabilityCheckFail() [5/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
TInt |
aHandle, |
|
|
const TCapabilitySet & |
aMissingCaps |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CapabilityCheckFail() [6/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
TInt |
aHandle, |
|
|
const TCapabilitySet & |
aMissingCaps, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CapabilityCheckFail() [7/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
TInt |
aHandle, |
|
|
TCapability |
aCapability |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CapabilityCheckFail() [8/8]
| static TInt PlatSec::CapabilityCheckFail |
( |
TInt |
aHandle, |
|
|
TCapability |
aCapability, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ ConfigSetting()
| static IMPORT_C TInt PlatSec::ConfigSetting |
( |
TConfigSetting |
aSetting | ) |
|
|
static |
A test function to return the state of a given Platform Security configuration setting.
@param aSetting An enumerated value representing the required setting
@return A value representing the setting. 0 represents 'OFF', 1 represents 'ON'
Other values may be returned for some settings, these exceptions are documented
in the description for individual enumerations of TConfigSetting.
@see TConfigSetting
@test
- API status
- Published to all clients.
- Parameters
-
| aSetting | An enumerated value representing the required setting |
(generated from Symbian Developer Library)
◆ CreatorCapabilityCheckFail() [1/4]
| static TInt PlatSec::CreatorCapabilityCheckFail |
( |
const TCapabilitySet & |
aMissingCaps | ) |
|
|
inlinestatic |
- API status
- Internal technology API.
◆ CreatorCapabilityCheckFail() [2/4]
| static TInt PlatSec::CreatorCapabilityCheckFail |
( |
const TCapabilitySet & |
aMissingCaps, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CreatorCapabilityCheckFail() [3/4]
| static TInt PlatSec::CreatorCapabilityCheckFail |
( |
TCapability |
aCapability | ) |
|
|
inlinestatic |
- API status
- Internal technology API.
◆ CreatorCapabilityCheckFail() [4/4]
| static TInt PlatSec::CreatorCapabilityCheckFail |
( |
TCapability |
aCapability, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ CreatorPolicyCheckFail() [1/2]
| static TInt PlatSec::CreatorPolicyCheckFail |
( |
const SSecurityInfo & |
aMissingCaps | ) |
|
|
inlinestatic |
- API status
- Internal technology API.
◆ CreatorPolicyCheckFail() [2/2]
| static TInt PlatSec::CreatorPolicyCheckFail |
( |
const SSecurityInfo & |
aMissingCaps, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ EmitDiagnostic()
| static UIMPORT_C TInt PlatSec::EmitDiagnostic |
( |
| ) |
|
|
static |
- API status
- Internal technology API.
◆ IsCapabilityEnforced()
| static IMPORT_C TBool PlatSec::IsCapabilityEnforced |
( |
TCapability |
aCapability | ) |
|
|
static |
Tests whether a given Platform Security capability is enforced by the system.
Capabilities may not be enforced for several reasons:
-# The capability has been explicitly disabled on this system
by use of the PlatSecDisabledCaps configuration parameter
-# Platform Security checks have been globally disabled
by use of the EPlatSecEnforcement configuration parameter
-# The capability value is unknown. I.e. Is not part of the set of supported
capabilities. See TCapabilitySet::SetAllSupported().
@param aCapability The capability to test
@return A non-zero value if the capability is enforced, zero if it is not.
- API status
- Published to all clients. Released API.
- Parameters
-
| aCapability | The capability to test |
(generated from Symbian Developer Library)
◆ LoaderCapabilityViolation() [1/2]
| static TInt PlatSec::LoaderCapabilityViolation |
( |
const TDesC8 & |
aImporterName, |
|
|
const TDesC8 & |
aFileName, |
|
|
const SCapabilitySet & |
aMissingCaps |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ LoaderCapabilityViolation() [2/2]
| static TInt PlatSec::LoaderCapabilityViolation |
( |
RProcess |
aLoadingProcess, |
|
|
const TDesC8 & |
aFileName, |
|
|
const SCapabilitySet & |
aMissingCaps |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ PolicyCheckFail() [1/5]
- API status
- Internal technology API.
◆ PolicyCheckFail() [2/5]
| static TInt PlatSec::PolicyCheckFail |
( |
RMessagePtr2 |
aMessage, |
|
|
const SSecurityInfo & |
aMissingCaps, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ PolicyCheckFail() [3/5]
| static TInt PlatSec::PolicyCheckFail |
( |
RSessionBase |
aSession, |
|
|
const SSecurityInfo & |
aMissingCaps, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ PolicyCheckFail() [4/5]
| static TInt PlatSec::PolicyCheckFail |
( |
TInt |
aHandle, |
|
|
const SSecurityInfo & |
aMissing |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
◆ PolicyCheckFail() [5/5]
| static TInt PlatSec::PolicyCheckFail |
( |
TInt |
aHandle, |
|
|
const SSecurityInfo & |
aMissing, |
|
|
const char * |
aContextText |
|
) |
| |
|
inlinestatic |
- API status
- Internal technology API.
The documentation for this class was generated from the following files: