RDMUtil Class Reference

class RDMUtil : public RSessionBase

RDMUtil class to establish DMUtil server connection

Inherits from

Public Member Functions
IMPORT_C TIntAddACLForNode(const TDesC8 &, const TACLDestination &, const TAclCommands &)
IMPORT_C voidClose()
IMPORT_C TIntConnect()
IMPORT_C TIntFlush()
IMPORT_C TIntGetDMSessionCertInfo(TCertInfo &)
IMPORT_C TIntGetDMSessionServerId(TDes8 &)
IMPORT_C TIntMarkMMCWipe()
IMPORT_C TIntNewDMSession(const TCertInfo &, const TDesC8 &)
IMPORT_C TIntPerformRFS()
IMPORT_C TIntRemoveACL(const TDesC8 &, TBool)
IMPORT_C TIntSetACLForNode(const TDesC8 &, const TACLDestination &, const TAclCommands &)
IMPORT_C TIntSetMngSessionCertificate(const TCertInfo &)
IMPORT_C TIntUpdatePolicyMngStatusFlags(KPolicyMngStatusFlags)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

AddACLForNode(const TDesC8 &, const TACLDestination &, const TAclCommands &)

IMPORT_C TIntAddACLForNode(const TDesC8 &aURI,
const TACLDestination &aDestination,
const TAclCommands &aCommandType
)

Connect Add ACL to node, this is incremental operation

Parameters

const TDesC8 & aURINode address
const TACLDestination & aDestination
const TAclCommands & aCommandTypeScecific commanf type (add, get, remove...)

Close()

IMPORT_C voidClose()

Close Close server connection

Connect()

IMPORT_C TIntConnect()

Connect Connects client side to policy engine server

Flush()

IMPORT_C TIntFlush()

Connect Flush changes to database

GetDMSessionCertInfo(TCertInfo &)

IMPORT_C TIntGetDMSessionCertInfo(TCertInfo &aCertInfo)

GetDMSessionCertInfo Gets certificate info of the current _active_ DM Session

Parameters

TCertInfo & aCertInfo

GetDMSessionServerId(TDes8 &)

IMPORT_C TIntGetDMSessionServerId(TDes8 &aServerId)

GetDMSessionSessionId Gets server id of the current _active_ DM Session

Parameters

TDes8 & aServerId

MarkMMCWipe()

IMPORT_C TIntMarkMMCWipe()

Use this method to set a flag to perform MMC format along deep reset. This happens when the system is called for deep reset -> system boot -> PMRfsPlugin is started -> reads the flag and performs also MMC wipe.

NewDMSession(const TCertInfo &, const TDesC8 &)

IMPORT_C TIntNewDMSession(const TCertInfo &aCertInfo,
const TDesC8 &aServerID
)

Connect Connects client side to policy engine server

Parameters

const TCertInfo & aCertInfo
const TDesC8 & aServerID

PerformRFS()

IMPORT_C TIntPerformRFS()

PerformRFS Perform RFS operation Policy Management subsystem

RemoveACL(const TDesC8 &, TBool)

IMPORT_C TIntRemoveACL(const TDesC8 &aURI,
TBoolaRestoreDefaults
)

Connect Remove ACL configuration from specific ACL node in DMUtilServer

Parameters

const TDesC8 & aURINode address
TBool aRestoreDefaultsIf true, default values are restored to ACL node (in DM client), otherwise existing values will stay

SetACLForNode(const TDesC8 &, const TACLDestination &, const TAclCommands &)

IMPORT_C TIntSetACLForNode(const TDesC8 &aURI,
const TACLDestination &aDestination,
const TAclCommands &aCommandType
)

Connect Add ACL to node, this is not incremental operation, old values are deleted

Parameters

const TDesC8 & aURINode address
const TACLDestination & aDestination
const TAclCommands & aCommandTypeScecific commanf type (add, get, remove...)

SetMngSessionCertificate(const TCertInfo &)

IMPORT_C TIntSetMngSessionCertificate(const TCertInfo &aCertInfo)

Connect Add certificate that is used during session

Parameters

const TCertInfo & aCertInfo

UpdatePolicyMngStatusFlags(KPolicyMngStatusFlags)

IMPORT_C TIntUpdatePolicyMngStatusFlags(KPolicyMngStatusFlagsaPolicyMngStatusFlags)

UpdatePolicyMngStatusFlags Update policy management status flags

Parameters

KPolicyMngStatusFlags aPolicyMngStatusFlags