class DRM::CDrmServiceApi : public CBase |
Drm Service Api which provides access to some drm private functionality
Public Member Functions | |
---|---|
~CDrmServiceApi () | |
IMPORT_C void | GetDevicePublicKeyDerL ( HBufC8 *&) |
IMPORT_C TInt | GetSecureTime ( TTime &, TInt &, DRMClock::ESecurityLevel &) |
IMPORT_C CDrmServiceApi * | NewL () |
IMPORT_C CDrmServiceApi * | NewLC () |
IMPORT_C void | SignL (const TDesC8 &, HBufC8 *&) |
IMPORT_C TInt | UpdateSecureTime (const TTime &, const TInt &) |
Private Member Functions | |
---|---|
CDrmServiceApi () | |
void | ConstructL () |
Private Attributes | |
---|---|
RDRMClockClient * | iClockClient |
Roap::RRoapStorageClient * | iRoapStorageClient |
IMPORT_C void | GetDevicePublicKeyDerL | ( | HBufC8 *& | aPublicKey | ) |
Get the device public key in Der format
HBufC8 *& aPublicKey | Return parameter for the public key owned by the caller |
IMPORT_C TInt | GetSecureTime | ( | TTime & | aTime, |
TInt & | aTimeZone, | |||
DRMClock::ESecurityLevel & | aSecurityLevel | |||
) | const |
Get the secure time
IMPORT_C CDrmServiceApi * | NewL | ( | ) | [static] |
Two-phased constructor
Creates a function CDrmServiceApi -object and returns a pointer to it pointer is owned by the caller
IMPORT_C CDrmServiceApi * | NewLC | ( | ) | [static] |
Two-phased constructor
Creates a function CDrmServiceApi -object and returns a pointer to it pointer is owned by the caller, the pointer is left to the cleanup stack
IMPORT_C void | SignL | ( | const TDesC8 & | aHash, |
HBufC8 *& | aSignature | |||
) |
Sign the value given
IMPORT_C TInt | UpdateSecureTime | ( | const TTime & | aTime, |
const TInt & | aTimeZone | |||
) |
Update the secure time
Requires DRM Capability
Roap::RRoapStorageClient * | iRoapStorageClient | [private] |
Owned roap storage client
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.