RDMUtil Class Reference

class RDMUtil : public RSessionBase

RDMUtil class to establish DMUtil server connection

Inherits from

Public Member Functions
IMPORT_C TInt AddACLForNode (const TDesC8 &, const TACLDestination &, const TAclCommands &)
IMPORT_C void Close ()
IMPORT_C TInt Connect ()
IMPORT_C TInt Flush ()
IMPORT_C TInt GetDMSessionCertInfo ( TCertInfo &)
IMPORT_C TInt GetDMSessionServerId ( TDes8 &)
IMPORT_C TInt MarkMMCWipe ()
IMPORT_C TInt NewDMSession (const TCertInfo &, const TDesC8 &)
IMPORT_C TInt PerformRFS ()
IMPORT_C TInt RemoveACL (const TDesC8 &, TBool )
IMPORT_C TInt SetACLForNode (const TDesC8 &, const TACLDestination &, const TAclCommands &)
IMPORT_C TInt SetMngSessionCertificate (const TCertInfo &)
IMPORT_C TInt UpdatePolicyMngStatusFlags ( 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 TInt AddACLForNode ( const TDesC8 & aURI,
const TACLDestination & aDestination,
const TAclCommands & aCommandType
)

Connect Add ACL to node, this is incremental operation

Parameters

const TDesC8 & aURI Node address
const TACLDestination & aDestination
const TAclCommands & aCommandType Scecific commanf type (add, get, remove...)

Close()

IMPORT_C void Close ( )

Close Close server connection

Connect()

IMPORT_C TInt Connect ( )

Connect Connects client side to policy engine server

Flush()

IMPORT_C TInt Flush ( )

Connect Flush changes to database

GetDMSessionCertInfo(TCertInfo &)

IMPORT_C TInt GetDMSessionCertInfo ( TCertInfo & aCertInfo )

GetDMSessionCertInfo Gets certificate info of the current _active_ DM Session

Parameters

TCertInfo & aCertInfo

GetDMSessionServerId(TDes8 &)

IMPORT_C TInt GetDMSessionServerId ( TDes8 & aServerId )

GetDMSessionSessionId Gets server id of the current _active_ DM Session

Parameters

TDes8 & aServerId

MarkMMCWipe()

IMPORT_C TInt MarkMMCWipe ( )

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 TInt NewDMSession ( const TCertInfo & aCertInfo,
const TDesC8 & aServerID
)

Connect Connects client side to policy engine server

Parameters

const TCertInfo & aCertInfo
const TDesC8 & aServerID

PerformRFS()

IMPORT_C TInt PerformRFS ( )

PerformRFS Perform RFS operation Policy Management subsystem

RemoveACL(const TDesC8 &, TBool)

IMPORT_C TInt RemoveACL ( const TDesC8 & aURI,
TBool aRestoreDefaults
)

Connect Remove ACL configuration from specific ACL node in DMUtilServer

Parameters

const TDesC8 & aURI Node address
TBool aRestoreDefaults If 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 TInt SetACLForNode ( 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 & aURI Node address
const TACLDestination & aDestination
const TAclCommands & aCommandType Scecific commanf type (add, get, remove...)

SetMngSessionCertificate(const TCertInfo &)

IMPORT_C TInt SetMngSessionCertificate ( const TCertInfo & aCertInfo )

Connect Add certificate that is used during session

Parameters

const TCertInfo & aCertInfo

UpdatePolicyMngStatusFlags(KPolicyMngStatusFlags)

IMPORT_C TInt UpdatePolicyMngStatusFlags ( KPolicyMngStatusFlags aPolicyMngStatusFlags )

UpdatePolicyMngStatusFlags Update policy management status flags

Parameters

KPolicyMngStatusFlags aPolicyMngStatusFlags