COma1DcfCreator Class Reference
class COma1DcfCreator : public CBase |
Accessing content and rights.
COma1DcfCreator.dll
- Since
- Series 60 2.0
Public Member Functions |
---|
| ~COma1DcfCreator(void) |
IMPORT_C void | EncryptContentL(HBufC8 *&, const TDesC8 &, CDRMRights *) |
IMPORT_C void | EncryptContentToFileL(const TDesC8 &, const TDesC &, const TDesC8 &, CDRMRights *) |
IMPORT_C void | EncryptFileL(const TDesC &, const TDesC &, const TDesC8 &, CDRMRights *) |
IMPORT_C void | EncryptFinalizeL() |
IMPORT_C void | EncryptInitializeL(RWriteStream &, const TDesC8 &, CDRMRights *) |
IMPORT_C void | EncryptUpdateL(const TDesC8 &) |
IMPORT_C TUint | GetBytesWritten(void) |
IMPORT_C COma1DcfCreator * | NewL(void) |
Private Member Functions |
---|
IMPORT_C void | ConstructL(void) |
Constructor & Destructor Documentation
COma1DcfCreator(void)
IMPORT_C | COma1DcfCreator | ( | void | | ) | [protected] |
~COma1DcfCreator(void)
IMPORT_C | ~COma1DcfCreator | ( | void | | ) | [virtual] |
Member Functions Documentation
ConstructL(void)
IMPORT_C void | ConstructL | ( | void | | ) | [private] |
By default Symbian 2nd phase constructor is private.
EncryptContentL(HBufC8 *&, const TDesC8 &, CDRMRights *)
EncryptContentL
Takes a memory buffer with plain text closed content and turns it into a DCF by adding the necessary headers.
EncryptContentToFileL(const TDesC8 &, const TDesC &, const TDesC8 &, CDRMRights *)
IMPORT_C void | EncryptContentToFileL | ( | const TDesC8 & | aContent, |
| const TDesC & | aFileName, |
| const TDesC8 & | aMIMEType, |
| CDRMRights * | aRightsObject = NULL |
| ) | |
EncryptContentToFileL
Takes a memory buffer with plain text closed content and turns it into a DCF by adding the necessary headers.
EncryptFileL(const TDesC &, const TDesC &, const TDesC8 &, CDRMRights *)
IMPORT_C void | EncryptFileL | ( | const TDesC & | aFileName, |
| const TDesC & | aDCFFileName, |
| const TDesC8 & | aMIMEType, |
| CDRMRights * | aRightsObject = NULL |
| ) | |
EncryptFileL
Takes the name of a file with plain text closed content and turns it into a DCF by adding the necessary headers.
EncryptFinalizeL()
IMPORT_C void | EncryptFinalizeL | ( | ) | |
EncryptFinalizeL
finalize the encryption
EncryptInitializeL(RWriteStream &, const TDesC8 &, CDRMRights *)
EncryptUpdateL(const TDesC8 &)
IMPORT_C void | EncryptUpdateL | ( | const TDesC8 & | aMessageData | ) | |
EncryptUpdateL
add processed content into stream
GetBytesWritten(void)
IMPORT_C TUint | GetBytesWritten | ( | void | | ) | |
GetBytesWritten
Returns the number of bytes written in the encryption process
Member Data Documentation
TUint
iBytesWritten
TUint
| iBytesWritten | [private] |
HBufC8 * iEncryptionBuffer
HBufC8 * | iEncryptionBuffer | [private] |
RWriteStream * iEncryptionStream
TBuf8< KDCFKeySize > iRemainder
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.