REncryptStream Class Reference
class REncryptStream : public RWriteStream |
Constructor & Destructor Documentation
REncryptStream()
Constructs an empty encrypting stream object.
Call OpenL() or OpenLC() to use a target stream owned by an existing write stream interface object, a RWriteStream.
Call AttachL() or AttachLC() to use and take ownership of a target stream owned by an existing write stream interface object.
REncryptStream(const MExternalizer< TStreamRef > &)
Member Functions Documentation
AttachL(RWriteStream &, const CPBEncryptionBase &)
Attach an encrypting write stream to aHost. Takes ownership of the target stream owned by the specified write stream interface object, and prepares the stream for writing through an encrypting filter.
- leave
- KErrNoMemory
Parameters
RWriteStream & aHost | The write stream interface object for the target stream |
const CPBEncryptionBase & aKey | A Password Based Encryption object for encryption handling. |
AttachLC(RWriteStream &, const CPBEncryptionBase &)
Attach an encrypting write stream to aHost. Takes ownership of the target stream owned by the specified write stream interface object, prepares the stream for writing through an encrypting filter, and puts a cleanup item onto the cleanup stack.
- leave
- KErrNoMemory
Parameters
RWriteStream & aHost | The write stream interface object for the target stream |
const CPBEncryptionBase & aKey | A Password Based Encryption object for encryption handling. |
OpenL(RWriteStream &, const CPBEncryptionBase &)
Open an encrypting write stream over aHost. Prepares the target stream owned by the specified write stream interface object for writing through an encrypting filter.
- leave
- KErrNoMemory
Parameters
RWriteStream & aHost | The write stream interface object for the target stream. The function does not take ownership of the target stream. |
const CPBEncryptionBase & aKey | A Password Based Encryption object for encryption handling. |
OpenLC(RWriteStream &, const CPBEncryptionBase &)
Open an encrypting write stream over aHost. Prepares the target stream owned by the specified write stream interface object for writing through an encrypting filter and puts a cleanup item onto the cleanup stack.
- leave
- KErrNoMemory
Parameters
RWriteStream & aHost | The write stream interface object for the target stream. The function does not take ownership of the target stream. |
const CPBEncryptionBase & aKey | A Password Based Encryption object for encryption handling. |
Member Data Documentation
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.