Roap::RRoapStorageClient Class Reference

class Roap::RRoapStorageClient : public RSessionBase

RRoapStorageClient

drmserverinterfaces.lib
Since
Series 60 3.0

Inherits from

Public Member Functions
RRoapStorageClient ()
~RRoapStorageClient ()
IMPORT_C void AddDomainContextL (const CDRMDomainContext &, const RPointerArray < HBufC8 > &, const RPointerArray < HBufC8 > &, TKeyTransportScheme &)
IMPORT_C void AddRIContextL (const CDRMRIContext &)
IMPORT_C TInt Connect ()
IMPORT_C void DeleteAllL ()
IMPORT_C void DeleteDomainContextL (const TDesC8 &)
IMPORT_C void DeleteExpiredContextsL (const TTime &)
IMPORT_C void DeleteExpiredDomainsL (const TTime &)
IMPORT_C void DeleteExpiredRIsL (const TTime &)
IMPORT_C void DeleteMeteringDataL (const TDesC8 &)
IMPORT_C void DeleteRiContextL (const TDesC8 &)
IMPORT_C void GetAllRIContextsL ( RPointerArray < CDRMRIContext > &)
IMPORT_C TInt GetDeviceCertificateChainL ( RPointerArray < HBufC8 > &)
IMPORT_C TInt GetDevicePublicKeyDerL ( HBufC8 *&)
IMPORT_C TInt GetDevicePublicKeyHashL ( TDes8 &)
IMPORT_C TInt GetDevicePublicKeyL ( CRSAPublicKey *&)
IMPORT_C CDRMDomainContext * GetDomainContextL (const TDesC8 &)
IMPORT_C HBufC8 * GetMeteringDataL ( TDesC8 &, TDes8 &, TDes8 &, HBufC8 *&)
IMPORT_C HBufC8 * GetOcspResponderIdL (const TDesC8 &)
IMPORT_C CDRMRIContext * GetRIContextL (const TDesC8 &)
IMPORT_C HBufC8 * GetRootCertificateL (const TDesC &)
IMPORT_C void GetTrustedRootsL ( RPointerArray < HBufC8 > &)
IMPORT_C TInt RsaSignL (const TDesC8 &, HBufC8 *&)
IMPORT_C TInt SelectTrustedRootL (const RPointerArray < HBufC8 > &, TDes8 &)
IMPORT_C TInt SelectTrustedRootL (const TDesC8 &)
IMPORT_C TInt SignL (const TDesC8 &, HBufC8 *&)
IMPORT_C TBool UpdateDrmTimeL (const RPointerArray < HBufC8 > &, const RPointerArray < HBufC8 > &, const TDesC8 &)
IMPORT_C void UpdateRIContextL (const CDRMRIContext &)
IMPORT_C TBool VerifyL (const TDesC8 &, const TDesC8 &, const RPointerArray < HBufC8 > &)
IMPORT_C TBool VerifyOcspResponsesL (const RPointerArray < HBufC8 > &, const TDesC8 &, const RPointerArray < HBufC8 > &)
IMPORT_C TBool WhiteListURLExistsL (const TDesC8 &, TBool &)
Private Member Functions
RRoapStorageClient (const RRoapStorageClient &)
RRoapStorageClient & operator= (const RRoapStorageClient &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
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

Constructor & Destructor Documentation

RRoapStorageClient()

IMPORT_C RRoapStorageClient ( )

Two-phased constructor.

RRoapStorageClient(const RRoapStorageClient &)

RRoapStorageClient ( const RRoapStorageClient & ) [private]

Parameters

const RRoapStorageClient &

~RRoapStorageClient()

IMPORT_C ~RRoapStorageClient ( ) [virtual]

Destructor.

Member Functions Documentation

AddDomainContextL(const CDRMDomainContext &, const RPointerArray< HBufC8 > &, const RPointerArray< HBufC8 > &, TKeyTransportScheme &)

IMPORT_C void AddDomainContextL ( const CDRMDomainContext & aDomainContext,
const RPointerArray < HBufC8 > & aMacs,
const RPointerArray < HBufC8 > & aDomainKeyElements,
TKeyTransportScheme & aTransportScheme
)

Parameters

const CDRMDomainContext & aDomainContext
const RPointerArray < HBufC8 > & aMacs
const RPointerArray < HBufC8 > & aDomainKeyElements
TKeyTransportScheme & aTransportScheme

AddRIContextL(const CDRMRIContext &)

IMPORT_C void AddRIContextL ( const CDRMRIContext & aRiContext )

Parameters

const CDRMRIContext & aRiContext

Connect()

IMPORT_C TInt Connect ( )
?member_description.
Since
Series ?XX ?SeriesXX_version

DeleteAllL()

IMPORT_C void DeleteAllL ( )

DeleteDomainContextL(const TDesC8 &)

IMPORT_C void DeleteDomainContextL ( const TDesC8 & aDomainID )

Parameters

const TDesC8 & aDomainID

DeleteExpiredContextsL(const TTime &)

IMPORT_C void DeleteExpiredContextsL ( const TTime & aTime )

Parameters

const TTime & aTime

DeleteExpiredDomainsL(const TTime &)

IMPORT_C void DeleteExpiredDomainsL ( const TTime & aTime )

Parameters

const TTime & aTime

DeleteExpiredRIsL(const TTime &)

IMPORT_C void DeleteExpiredRIsL ( const TTime & aTime )

Parameters

const TTime & aTime

DeleteMeteringDataL(const TDesC8 &)

IMPORT_C void DeleteMeteringDataL ( const TDesC8 & aRiId )

Parameters

const TDesC8 & aRiId

DeleteRiContextL(const TDesC8 &)

IMPORT_C void DeleteRiContextL ( const TDesC8 & aRiID )

Parameters

const TDesC8 & aRiID

GetAllRIContextsL(RPointerArray< CDRMRIContext > &)

IMPORT_C void GetAllRIContextsL ( RPointerArray < CDRMRIContext > & aRiContexts )

Parameters

RPointerArray < CDRMRIContext > & aRiContexts

GetDeviceCertificateChainL(RPointerArray< HBufC8 > &)

IMPORT_C TInt GetDeviceCertificateChainL ( RPointerArray < HBufC8 > & aCertChain )

Parameters

RPointerArray < HBufC8 > & aCertChain

GetDevicePublicKeyDerL(HBufC8 *&)

IMPORT_C TInt GetDevicePublicKeyDerL ( HBufC8 *& aPublicKey )

Parameters

HBufC8 *& aPublicKey

GetDevicePublicKeyHashL(TDes8 &)

IMPORT_C TInt GetDevicePublicKeyHashL ( TDes8 & aHash )

Parameters

TDes8 & aHash

GetDevicePublicKeyL(CRSAPublicKey *&)

IMPORT_C TInt GetDevicePublicKeyL ( CRSAPublicKey *& aPublicKey )

Parameters

CRSAPublicKey *& aPublicKey

GetDomainContextL(const TDesC8 &)

IMPORT_C CDRMDomainContext * GetDomainContextL ( const TDesC8 & aDomainID )

Parameters

const TDesC8 & aDomainID

GetMeteringDataL(TDesC8 &, TDes8 &, TDes8 &, HBufC8 *&)

IMPORT_C HBufC8 * GetMeteringDataL ( TDesC8 & aRiId,
TDes8 & aMacKey,
TDes8 & aEncKeyHash,
HBufC8 *& aEncryptedMekAndMak
)

Parameters

TDesC8 & aRiId
TDes8 & aMacKey
TDes8 & aEncKeyHash
HBufC8 *& aEncryptedMekAndMak

GetOcspResponderIdL(const TDesC8 &)

IMPORT_C HBufC8 * GetOcspResponderIdL ( const TDesC8 & aRiID )

Parameters

const TDesC8 & aRiID

GetRIContextL(const TDesC8 &)

IMPORT_C CDRMRIContext * GetRIContextL ( const TDesC8 & aRiID )

Parameters

const TDesC8 & aRiID

GetRootCertificateL(const TDesC &)

IMPORT_C HBufC8 * GetRootCertificateL ( const TDesC & aSubject ) const

Parameters

const TDesC & aSubject

GetTrustedRootsL(RPointerArray< HBufC8 > &)

IMPORT_C void GetTrustedRootsL ( RPointerArray < HBufC8 > & aTrustedRoots ) const

Parameters

RPointerArray < HBufC8 > & aTrustedRoots

RsaSignL(const TDesC8 &, HBufC8 *&)

IMPORT_C TInt RsaSignL ( const TDesC8 & aHash,
HBufC8 *& aSignature
)

Parameters

const TDesC8 & aHash
HBufC8 *& aSignature

SelectTrustedRootL(const RPointerArray< HBufC8 > &, TDes8 &)

IMPORT_C TInt SelectTrustedRootL ( const RPointerArray < HBufC8 > & aTrustedRoots,
TDes8 & aSelectedRoot
) const

Parameters

const RPointerArray < HBufC8 > & aTrustedRoots
TDes8 & aSelectedRoot

SelectTrustedRootL(const TDesC8 &)

IMPORT_C TInt SelectTrustedRootL ( const TDesC8 & aTrustedRoot ) const

Parameters

const TDesC8 & aTrustedRoot

SignL(const TDesC8 &, HBufC8 *&)

IMPORT_C TInt SignL ( const TDesC8 & aHash,
HBufC8 *& aSignature
)

Parameters

const TDesC8 & aHash
HBufC8 *& aSignature

UpdateDrmTimeL(const RPointerArray< HBufC8 > &, const RPointerArray< HBufC8 > &, const TDesC8 &)

IMPORT_C TBool UpdateDrmTimeL ( const RPointerArray < HBufC8 > & aCertChain,
const RPointerArray < HBufC8 > & aOCSPResponses,
const TDesC8 & aNonce
)

Parameters

const RPointerArray < HBufC8 > & aCertChain
const RPointerArray < HBufC8 > & aOCSPResponses
const TDesC8 & aNonce

UpdateRIContextL(const CDRMRIContext &)

IMPORT_C void UpdateRIContextL ( const CDRMRIContext & aContext )

Parameters

const CDRMRIContext & aContext

VerifyL(const TDesC8 &, const TDesC8 &, const RPointerArray< HBufC8 > &)

IMPORT_C TBool VerifyL ( const TDesC8 & aSignature,
const TDesC8 & aHash,
const RPointerArray < HBufC8 > & aCertificateChain
)

Parameters

const TDesC8 & aSignature
const TDesC8 & aHash
const RPointerArray < HBufC8 > & aCertificateChain

VerifyOcspResponsesL(const RPointerArray< HBufC8 > &, const TDesC8 &, const RPointerArray< HBufC8 > &)

IMPORT_C TBool VerifyOcspResponsesL ( const RPointerArray < HBufC8 > & aOcspResponses,
const TDesC8 & aRiCaCert,
const RPointerArray < HBufC8 > & aCertSerialNums
)

Parameters

const RPointerArray < HBufC8 > & aOcspResponses
const TDesC8 & aRiCaCert
const RPointerArray < HBufC8 > & aCertSerialNums

WhiteListURLExistsL(const TDesC8 &, TBool &)

IMPORT_C TBool WhiteListURLExistsL ( const TDesC8 & aURL,
TBool & aFromPreconfiguredWhiteList
)

Parameters

const TDesC8 & aURL
TBool & aFromPreconfiguredWhiteList

operator=(const RRoapStorageClient &)

RRoapStorageClient & operator= ( const RRoapStorageClient & ) [private]

Parameters

const RRoapStorageClient &