»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Security CERTMAN »
CAlgorithmIdentifier
Location:
signed.h
Link against: crypto.lib
Class CAlgorithmIdentifier
class CAlgorithmIdentifier : public CBase;
Description
Contains an algorithm ID and any encoded parameters required by that algorithm.
An object of this type creates and owns a heap descriptor to contain the encoded parameters.
Derivation
CBase
- Base class for all classes to be instantiated on the heap
CAlgorithmIdentifier
- Contains an algorithm ID and any encoded parameters required by that algorithm
Members
Defined in CAlgorithmIdentifier
:
Algorithm()
, CAlgorithmIdentifier()
, CAlgorithmIdentifier()
, ConstructL()
, ConstructL()
, EncodedParams()
, NewL()
, NewL()
, NewLC()
, NewLC()
, iAlgorithmId
, iEncodedParams
, operator==()
, ~CAlgorithmIdentifier()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Construction and destruction
static IMPORT_C CAlgorithmIdentifier *NewL(const CAlgorithmIdentifier &aAlgorithmIdentifier);
Description
Creates a new algorithm ID object copied from an existing object.
Parameters
Return value
static IMPORT_C CAlgorithmIdentifier *NewLC(const CAlgorithmIdentifier &aAlgorithmIdentifier);
Description
Creates a new algorithm ID object copied from an existing object, and puts a pointer to the new object onto the cleanup stack.
Parameters
Return value
static IMPORT_C CAlgorithmIdentifier *NewL(TAlgorithmId &aAlgorithmId, const TDesC8 &aEncodedParams);
Description
Creates a new algorithm ID object.
Parameters
TAlgorithmId &aAlgorithmId |
The algorithm ID.
|
const TDesC8 &aEncodedParams |
The encoded parameters.
|
|
Return value
static IMPORT_C CAlgorithmIdentifier *NewLC(TAlgorithmId &aAlgorithmId, const TDesC8 &aEncodedParams);
Description
Creates a new algorithm ID object, and puts a pointer to the new object onto the cleanup stack.
Parameters
TAlgorithmId &aAlgorithmId |
The algorithm ID.
|
const TDesC8 &aEncodedParams |
The encoded parameters.
|
|
Return value
IMPORT_C ~CAlgorithmIdentifier();
Description
Destructor.
Frees all resources owned by the object.
protected: IMPORT_C CAlgorithmIdentifier();
Description
Default constructor.
protected: IMPORT_C CAlgorithmIdentifier(TAlgorithmId &aAlgorithmId);
Description
Constructor taking the specified parameters.
Parameters
protected: virtual IMPORT_C void ConstructL(const CAlgorithmIdentifier &aAlgorithmIdentifier);
Description
Second-phase constructor taking an existing algorithm identifier object.
Parameters
protected: virtual IMPORT_C void ConstructL(const TDesC8 &aEncodedParams);
Description
Second-phase constructor taking encoded parameters.
Parameters
const TDesC8 &aEncodedParams |
The encoded parameters.
|
|
IMPORT_C TBool operator==(const CAlgorithmIdentifier &aAlgorithmIdentifier) const;
Description
Tests whether this algorithm identifier object is equal to the specified algorithm identifier object.
Parameters
Return value
TBool
|
ETrue, if this algorithm identifier object is equal to the specified algorithm identifier object; EFalse otherwise.
|
|
IMPORT_C TAlgorithmId Algorithm() const;
Description
Gets the algorithm identifier.
Return value
IMPORT_C TPtrC8 EncodedParams() const;
Description
Gets the encoded parameters for the algorithm identifier.
Note that this object owns the heap descriptor that owns the encoded parameters.
Return value
TPtrC8
|
The encoded parameters.
|
|
protected: TAlgorithmId iAlgorithmId;
Description
The algorithm ID.
protected: HBufC8 * iEncodedParams;
Description
The encoded parameters for the algorithm ID.