DRM::CDrmServiceApi Class Reference
class DRM::CDrmServiceApi : public CBase |
Drm Service Api which provides access to some drm private functionality
DrmServiceAPI.lib
- Since
- S60 v3.2
Constructor & Destructor Documentation
CDrmServiceApi()
CDrmServiceApi | ( | ) | [private] |
~CDrmServiceApi()
~CDrmServiceApi | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
GetDevicePublicKeyDerL(HBufC8 *&)
IMPORT_C void | GetDevicePublicKeyDerL | ( | HBufC8 *& | aPublicKey | ) | |
Get the device public key in Der format
- Since
- S60 v3.2
-
leave
- Symbian OS error code
Parameters
HBufC8 *& aPublicKey | Return parameter for the public key owned by the caller |
GetSecureTime(TTime &, TInt &, DRMClock::ESecurityLevel &)
Parameters
TTime & aTime | Output parameter containing the secure time in UTC. |
TInt & aTimeZone | Time zone information including summer/winter time in +/- 15 minutes |
DRMClock::ESecurityLevel & aSecurityLevel | Output parameter Securiry level. |
NewL()
Two-phased constructor
Creates a function CDrmServiceApi -object and returns a pointer to it pointer is owned by the caller
NewLC()
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
SignL(const TDesC8 &, HBufC8 *&)
IMPORT_C void | SignL | ( | const TDesC8 & | aHash, |
| HBufC8 *& | aSignature |
| ) | |
Sign the value given
- Since
- S60 v3.2
-
leave
- Symbian OS error code
Parameters
const TDesC8 & aHash | Value to be signed |
HBufC8 *& aSignature | Return parameter for the signature, owned by the caller |
UpdateSecureTime(const TTime &, const TInt &)
IMPORT_C TInt | UpdateSecureTime | ( | const TTime & | aTime, |
| const TInt & | aTimeZone |
| ) | |
Update the secure time
Requires DRM Capability
Parameters
const TTime & aTime | Input parameter containing the secure time in UTC. |
const TInt & aTimeZone | Time zone information including summer/winter time in +/- 15 minutes |
Member Data Documentation
RDRMClockClient * iClockClient
Roap::RRoapStorageClient * iRoapStorageClient
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.