PlatSec Class Reference
Public Member Functions |
---|
TInt
| CapabilityCheckFail(TInt, TCapability, const char *) |
TInt
| CapabilityCheckFail(TInt, const TCapabilitySet &, const char *) |
TInt
| CapabilityCheckFail(RMessagePtr2, TCapability, const char *) |
TInt
| CapabilityCheckFail(RMessagePtr2, const TCapabilitySet &, const char *) |
TInt
| CapabilityCheckFail(TInt, TCapability) |
TInt
| CapabilityCheckFail(TInt, const TCapabilitySet &) |
TInt
| CapabilityCheckFail(RMessagePtr2, TCapability) |
TInt
| CapabilityCheckFail(RMessagePtr2, const TCapabilitySet &) |
IMPORT_C TInt | ConfigSetting(TConfigSetting) |
TInt
| CreatorCapabilityCheckFail(TCapability, const char *) |
TInt
| CreatorCapabilityCheckFail(const TCapabilitySet &, const char *) |
TInt
| CreatorCapabilityCheckFail(TCapability) |
TInt
| CreatorCapabilityCheckFail(const TCapabilitySet &) |
TInt
| CreatorPolicyCheckFail(const SSecurityInfo &, const char *) |
TInt
| CreatorPolicyCheckFail(const SSecurityInfo &) |
UIMPORT_C TInt | EmitDiagnostic() |
IMPORT_C TBool | IsCapabilityEnforced(TCapability) |
TInt
| LoaderCapabilityViolation(const TDesC8 &, const TDesC8 &, const SCapabilitySet &) |
TInt
| LoaderCapabilityViolation(RProcess, const TDesC8 &, const SCapabilitySet &) |
TInt
| PolicyCheckFail(TInt, const SSecurityInfo &, const char *) |
TInt
| PolicyCheckFail(RMessagePtr2, const SSecurityInfo &, const char *) |
TInt
| PolicyCheckFail(RSessionBase, const SSecurityInfo &, const char *) |
TInt
| PolicyCheckFail(TInt, const SSecurityInfo &) |
TInt
| PolicyCheckFail(RMessagePtr2, const SSecurityInfo &) |
Detailed Description
Class containing Platform Security related methods
Member Enumeration Documentation
Enum TConfigSetting
An enumeration used with PlatSecSetting()
See also: PlatSecSetting()
Test
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
|
Member Function Documentation
CapabilityCheckFail ( TInt, TCapability, const char * )
TInt
| CapabilityCheckFail | ( | TInt | aHandle, |
| TCapability | aCapability, |
| const char * | aContextText |
| ) | [static, inline] |
CapabilityCheckFail ( TInt, const TCapabilitySet &, const char * )
TInt
| CapabilityCheckFail | ( | TInt | aHandle, |
| const TCapabilitySet & | aMissingCaps, |
| const char * | aContextText |
| ) | [static, inline] |
CapabilityCheckFail ( RMessagePtr2, TCapability, const char * )
CapabilityCheckFail ( RMessagePtr2, const TCapabilitySet &, const char * )
CapabilityCheckFail ( TInt, TCapability )
CapabilityCheckFail ( TInt, const TCapabilitySet & )
CapabilityCheckFail ( RMessagePtr2, TCapability )
CapabilityCheckFail ( RMessagePtr2, const TCapabilitySet & )
ConfigSetting ( TConfigSetting )
A test function to return the state of a given Platform Security configuration setting.
See also: TConfigSetting
Test
Parameter | Description | aSetting | An enumerated value representing the required setting |
Returns: 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.
CreatorCapabilityCheckFail ( TCapability, const char * )
TInt
| CreatorCapabilityCheckFail | ( | TCapability | aCapability, |
| const char * | aContextText |
| ) | [static, inline] |
CreatorCapabilityCheckFail ( const TCapabilitySet &, const char * )
TInt
| CreatorCapabilityCheckFail | ( | const TCapabilitySet & | aMissingCaps, |
| const char * | aContextText |
| ) | [static, inline] |
CreatorCapabilityCheckFail ( TCapability )
CreatorCapabilityCheckFail ( const TCapabilitySet & )
CreatorPolicyCheckFail ( const SSecurityInfo &, const char * )
TInt
| CreatorPolicyCheckFail | ( | const SSecurityInfo & | aMissingCaps, |
| const char * | aContextText |
| ) | [static, inline] |
CreatorPolicyCheckFail ( const SSecurityInfo & )
EmitDiagnostic ( )
UIMPORT_C TInt | EmitDiagnostic | ( | ) | [static] |
IsCapabilityEnforced ( TCapability )
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().
Parameter | Description | aCapability | The capability to test |
Returns: A non-zero value if the capability is enforced, zero if it is not.
LoaderCapabilityViolation ( const TDesC8 &, const TDesC8 &, const SCapabilitySet & )
LoaderCapabilityViolation ( RProcess, const TDesC8 &, const SCapabilitySet & )
PolicyCheckFail ( TInt, const SSecurityInfo &, const char * )
TInt
| PolicyCheckFail | ( | TInt | aHandle, |
| const SSecurityInfo & | aMissing, |
| const char * | aContextText |
| ) | [static, inline] |
PolicyCheckFail ( RMessagePtr2, const SSecurityInfo &, const char * )
PolicyCheckFail ( RSessionBase, const SSecurityInfo &, const char * )
PolicyCheckFail ( TInt, const SSecurityInfo & )
PolicyCheckFail ( RMessagePtr2, const SSecurityInfo & )