#include <mw/DRMLicenseChecker.h>
| class CDRMLicenseChecker : public CBase |
| Public Member Enumerations | |
|---|---|
| enum | anonymous { ENoRights, ERightsExpired } |
| Public Member Functions | |
|---|---|
| virtual | ~CDRMLicenseChecker() |
| IMPORT_C TInt | CheckLicense(const TDesC &, HBufC8 *&) |
| IMPORT_C CDRMLicenseChecker * | NewL() |
Check and decrypt protected data files encrypted by the license manager.
This function performs a license check by decrypting a data file and returning the decrypted contents of the data file. A license check can only succeed if a rights object associated with the calling application exists and sufficient rights are present. If the license check fails, an error is returned.
Returns: ENoRights, ERightsExpired if the data file could not be opened because of insufficient rights, Symbian-wide error codes or KErrNone in case of success.