CCPSecurityPolicy Class Reference
class CCPSecurityPolicy : public CBase
|
Internal class for Security related activities
Constructor & Destructor Documentation
CCPSecurityPolicy(const RMessage2 &)
CCPSecurityPolicy
|
(
|
const
RMessage2
&
|
aMessage
|
)
|
[private]
|
~CCPSecurityPolicy()
~CCPSecurityPolicy
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CheckCapabilities(const TDesC &)
TBool
|
CheckCapabilities
|
(
|
const
TDesC
&
|
aList
|
)
|
const
|
Performs security check based on client Capabilities
Parameters
const
TDesC
& aList
|
list of capabilities which client must have
|
CheckSecurityL(TPtrC8 &, TACLPolicy)
Checks if access for client (iMessage) should be granted or not
Parameters
TPtrC8
& aBinary
|
serialized ACL map
|
TACLPolicy
aPolicy
|
secururity policy to check
|
CheckUids(const TDesC &)
Performs security check based on client UIDs
Parameters
const
TDesC
& aList
|
list of uids which have access
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
DoCheckSecurityL(const CLiwMap *)
Performs actuall security check should be granted or not
ExctractNextToken(const TDesC &, TPtrC &, TInt &)
void
|
ExctractNextToken
|
(
|
const
TDesC
&
|
aList,
|
|
TPtrC
&
|
aResult,
|
|
TInt
&
|
aPos
|
|
)
|
const
|
Exctracts from list next token( UID or Capability )
Parameters
const
TDesC
& aList
|
list as desciptor
|
TPtrC
& aResult
|
single token extracted from list
|
TInt
& aPos
|
position of the reuired token
|
GetCapability(const TDesC &)
TCapability
|
GetCapability
|
(
|
const
TDesC
&
|
aCapability
|
)
|
const
|
Converts capability given as descriptor to enum
Parameters
const
TDesC
& aCapability
|
descriptor to convert
|
GetDefaultSecurityL(RBuf8 &)
void
|
GetDefaultSecurityL
|
(
|
RBuf8
&
|
aResult
|
)
|
const
|
Sets default ACL map and serializes it
Member Enumerations Documentation
Member Data Documentation
const RMessage2 & iMessage
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.