CDRMLicenseManager Class Reference
class CDRMLicenseManager : public CBase |
Processes protected installation packages for use by the license checker.
DRMLicenseManager.lib
- Since
- Series 60 2.5
Constructor & Destructor Documentation
CDRMLicenseManager()
CDRMLicenseManager | ( | ) | [private] |
~CDRMLicenseManager()
IMPORT_C | ~CDRMLicenseManager | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
EncryptDataFileL(TDRMDataFile *, const TDesC &, CZipFileMember *)
Encrypts a single data file.
ExtractSISFileL(const TDesC &, const TDesC &)
IMPORT_C TInt | ExtractSISFileL | ( | const TDesC & | aZIPFile, |
| const TDesC & | aDestination |
| ) | |
Extracts the SIS file from within the PIP file and stores it in a defined location.
ExtractSISFileL(RFile &, const TDesC &)
IMPORT_C TInt | ExtractSISFileL | ( | RFile & | aZIPFile, |
| const TDesC & | aDestination |
| ) | |
This is the file handle based equivalent of the ExtractSISFileL function.
GetSISMemberL(void)
Returns the SIS member contained in a PIP file.
ProcessDataFilesL(const TDesC &)
TInt
| ProcessDataFilesL | ( | const TDesC & | aDestination | ) | [protected] |
Process all data files by encrypting them and writing them to their target locations.
Parameters
const TDesC & aDestination | |
ProcessL(const TDesC &, const TDesC &)
IMPORT_C TInt | ProcessL | ( | const TDesC & | aZIPFile, |
| const TDesC & | aDestination |
| ) | |
This function performs the actual processing of a protected installation package. It identifies the data files to be protected by reading the definition file. Each identified data file in the PIP will be encrypted and stored in the location indicated by the definition file. The definition file can refer to these locations relative to the installation destination, which can be given as a separate parameter.
ProcessL(RFile &, const TDesC &)
This is the file handle based equivalent of the ProcessL function
ReadDefinitionFileL(void)
TInt
| ReadDefinitionFileL | ( | void | | ) | [protected] |
Reads the definition file from a PIP file
ReadFileDescription(RZipFileMemberReaderStream *)
Reads the description line for one file
ReadLine(RZipFileMemberReaderStream *, TDes8 &)
Reads one line from the definition file.
WriteSISMemberL(CZipFileMember *, const TDesC &)
Writes the SIS member contents to a file.
Member Enumerations Documentation
Enum anonymous
Enumerators
ENoRights = -100000 | |
ERightsExpired = -100001 | |
EPIPInvalid = -100002 | |
ESISNotFound = -100003 | |
Member Data Documentation
RPointerArray< TDRMDataFile > iDataFiles
HBufC8 * iRightsIssuer
HBufC8 * | iRightsIssuer | [protected] |
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.