Swi::CHashContainer Class Reference
class Swi::CHashContainer : public CBase
|
Serves as a container combining a hash value and a hash algorithm
Constructor & Destructor Documentation
CHashContainer()
CHashContainer
|
(
|
)
|
[private]
|
CHashContainer(const CMessageDigest::THashId)
~CHashContainer()
IMPORT_C
|
~CHashContainer
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Algorithm()
This method returns the algorithm used to produce the hash value.
ConstructL(const Sis::CHash &)
void
|
ConstructL
|
(
|
const
Sis::CHash
&
|
aHash
|
)
|
[private]
|
The second-phase constructor.
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aData
|
)
|
[private]
|
The second-phase constructor.
Parameters
const
TDesC8
& aData
|
A descriptor of TDesC8 type containing the data
|
ConstructL(RReadStream &)
The second-phase constructor.
Parameters
RReadStream
& aStream
|
An instance of a RReadStream to read the entity from.
|
Data()
const
TDesC8
&
|
Data
|
(
|
)
|
const [inline]
|
This method returns the actual hash value.
ExternalizeL(RWriteStream &)
Parameters
RWriteStream
& aStream
|
RWriteStream to write the entity contents to.
|
InternalizeL(RReadStream &)
Parameters
RReadStream
& aStream
|
RReadStream to read the entity from.
|
NewL(const Sis::CHash &)
Parameters
const
Sis::CHash
& aHash
|
a Sis::CHash object to obtain the hash algorithm and data
|
NewL(const CMessageDigest::THashId, const TDesC8 &)
Parameters
const
CMessageDigest::THashId
aAlgorithm
|
An instance of a CMessageDigest::THashId to specify the encoding algorithm
|
const
TDesC8
& aData
|
A descriptor of TDesC8 type containing the data
|
NewL(RReadStream &)
Parameters
RReadStream
& aStream
|
RReadStream to read the entity from.
|
NewLC(const Sis::CHash &)
Parameters
const
Sis::CHash
& aHash
|
a Sis::CHash object to obtain the hash algorithm and data
|
NewLC(const CMessageDigest::THashId, const TDesC8 &)
Parameters
const
CMessageDigest::THashId
aAlgorithm
|
an instance of a CMessageDigest::THashId to specify the encoding algorithm
|
const
TDesC8
& aData
|
A descriptor of TDesC8 type containing the data
|
NewLC(RReadStream &)
Parameters
RReadStream
& aStream
|
RReadStream to read the entity from.
|
SerializedSize()
TUint32
|
SerializedSize
|
(
|
)
|
const [inline]
|
This method returns serialized size of the object
Member Data Documentation
CMessageDigest::THashId
iAlgorithm
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.