PlatSec Class Reference
Class containing Platform Security related methods
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
&)
|
Member Functions 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.
TConfigSetting
Test
Parameters
TConfigSetting
aSetting
|
An enumerated value representing the required setting
|
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)
TInt
|
CreatorCapabilityCheckFail
|
(
|
TCapability
|
aCapability
|
)
|
[static, inline]
|
CreatorCapabilityCheckFail(const TCapabilitySet &)
CreatorPolicyCheckFail(const SSecurityInfo &, const char *)
TInt
|
CreatorPolicyCheckFail
|
(
|
const
SSecurityInfo
&
|
aMissingCaps,
|
|
const char *
|
aContextText
|
|
)
|
[static, inline]
|
CreatorPolicyCheckFail(const SSecurityInfo &)
EmitDiagnostic(TPlatSecDiagnostic &, const char *)
UIMPORT_C
TInt
|
EmitDiagnostic
|
(
|
TPlatSecDiagnostic
&
|
aDiagnostic,
|
|
const char *
|
aContextText
|
|
)
|
[private, static]
|
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()
.
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 &)
Member Enumerations Documentation
Enum TConfigSetting
An enumeration used with PlatSecSetting() PlatSecSetting()
Test
Enumerators
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
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.