#include <e32cmn.h>
class PlatSec |
Public Member Enumerations | |
---|---|
enum | TConfigSetting { EPlatSecEnforcement, EPlatSecDiagnotics, EPlatSecProcessIsolation, EPlatSecEnforceSysBin, EPlatSecLocked } |
Class containing Platform Security related methods
An enumeration used with PlatSecSetting()
See also: PlatSecSetting()
Enumerator | Value | Description |
---|---|---|
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 |
TInt | CapabilityCheckFail | ( | TInt | aHandle, |
TCapability | aCapability, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | TInt | aHandle, |
const TCapabilitySet & | aMissingCaps, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | RMessagePtr2 | aMessage, |
TCapability | aCapability, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | RMessagePtr2 | aMessage, |
const TCapabilitySet & | aMissingCaps, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | TInt | aHandle, |
TCapability | aCapability | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | TInt | aHandle, |
const TCapabilitySet & | aMissingCaps | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | RMessagePtr2 | aMessage, |
TCapability | aCapability | |||
) | [static, inline] |
TInt | CapabilityCheckFail | ( | RMessagePtr2 | aMessage, |
const TCapabilitySet & | aMissingCaps | |||
) | [static, inline] |
IMPORT_C TInt | ConfigSetting | ( | TConfigSetting | aSetting | ) | [static] |
A test function to return the state of a given Platform Security configuration setting.
See also: TConfigSetting
Parameters | |
---|---|
aSetting | An enumerated value representing the required setting |
TInt | CreatorCapabilityCheckFail | ( | TCapability | aCapability, |
const char * | aContextText | |||
) | [static, inline] |
TInt | CreatorCapabilityCheckFail | ( | const TCapabilitySet & | aMissingCaps, |
const char * | aContextText | |||
) | [static, inline] |
TInt | CreatorCapabilityCheckFail | ( | TCapability | aCapability | ) | [static, inline] |
TInt | CreatorCapabilityCheckFail | ( | const TCapabilitySet & | aMissingCaps | ) | [static, inline] |
TInt | CreatorPolicyCheckFail | ( | const SSecurityInfo & | aMissingCaps, |
const char * | aContextText | |||
) | [static, inline] |
TInt | CreatorPolicyCheckFail | ( | const SSecurityInfo & | aMissingCaps | ) | [static, inline] |
IMPORT_C TBool | IsCapabilityEnforced | ( | TCapability | aCapability | ) | [static] |
Tests whether a given Platform Security capability is enforced by the system.
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().
Parameters | |
---|---|
aCapability | The capability to test |
TInt | LoaderCapabilityViolation | ( | const TDesC8 & | aImporterName, |
const TDesC8 & | aFileName, | |||
const SCapabilitySet & | aMissingCaps | |||
) | [static, inline] |
TInt | LoaderCapabilityViolation | ( | RProcess | aLoadingProcess, |
const TDesC8 & | aFileName, | |||
const SCapabilitySet & | aMissingCaps | |||
) | [static, inline] |
TInt | PolicyCheckFail | ( | TInt | aHandle, |
const SSecurityInfo & | aMissing, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | PolicyCheckFail | ( | RMessagePtr2 | aMessage, |
const SSecurityInfo & | aMissingCaps, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | PolicyCheckFail | ( | RSessionBase | aSession, |
const SSecurityInfo & | aMissingCaps, | |||
const char * | aContextText | |||
) | [static, inline] |
TInt | PolicyCheckFail | ( | TInt | aHandle, |
const SSecurityInfo & | aMissing | |||
) | [static, inline] |
TInt | PolicyCheckFail | ( | RMessagePtr2 | aMessage, |
const SSecurityInfo & | aMissingCaps | |||
) | [static, inline] |