#include <signed.h>
class CAlgorithmIdentifier : public CBase |
Protected Attributes | |
---|---|
TAlgorithmId | iAlgorithmId |
HBufC8 * | iEncodedParams |
Public Member Functions | |
---|---|
~CAlgorithmIdentifier() | |
IMPORT_C TAlgorithmId | Algorithm() |
IMPORT_C TPtrC8 | EncodedParams() |
IMPORT_C CAlgorithmIdentifier * | NewL(const CAlgorithmIdentifier &) |
IMPORT_C CAlgorithmIdentifier * | NewL(TAlgorithmId &, const TDesC8 &) |
IMPORT_C CAlgorithmIdentifier * | NewLC(const CAlgorithmIdentifier &) |
IMPORT_C CAlgorithmIdentifier * | NewLC(TAlgorithmId &, const TDesC8 &) |
IMPORT_C TBool | operator==(const CAlgorithmIdentifier &) |
Protected Member Functions | |
---|---|
CAlgorithmIdentifier() | |
CAlgorithmIdentifier(TAlgorithmId &) | |
virtual IMPORT_C void | ConstructL(const CAlgorithmIdentifier &) |
virtual IMPORT_C void | ConstructL(const TDesC8 &) |
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.
IMPORT_C | CAlgorithmIdentifier | ( | TAlgorithmId & | aAlgorithmId | ) | [protected] |
Constructor taking the specified parameters.
Parameter | Description |
---|---|
aAlgorithmId | The algorithm ID. |
IMPORT_C | ~CAlgorithmIdentifier | ( | ) |
Destructor.
Frees all resources owned by the object.
IMPORT_C TAlgorithmId | Algorithm | ( | ) | const |
Gets the algorithm identifier.
Returns: The algorithm identifier.
IMPORT_C void | ConstructL | ( | const CAlgorithmIdentifier & | aAlgorithmIdentifier | ) | [protected, virtual] |
Second-phase constructor taking an existing algorithm identifier object.
Parameter | Description |
---|---|
aAlgorithmIdentifier | The algorithm identifier object. |
IMPORT_C void | ConstructL | ( | const TDesC8 & | aEncodedParams | ) | [protected, virtual] |
Second-phase constructor taking encoded parameters.
Parameter | Description |
---|---|
aEncodedParams | The encoded parameters. |
IMPORT_C TPtrC8 | EncodedParams | ( | ) | const |
Gets the encoded parameters for the algorithm identifier.
Note that this object owns the heap descriptor that owns the encoded parameters.
Returns: The encoded parameters.
IMPORT_C CAlgorithmIdentifier * | NewL | ( | const CAlgorithmIdentifier & | aAlgorithmIdentifier | ) | [static] |
Creates a new algorithm ID object copied from an existing object.
Parameter | Description |
---|---|
aAlgorithmIdentifier | The algorithm ID object to be copied. |
Returns: A pointer to the new algorithm ID object.
IMPORT_C CAlgorithmIdentifier * | NewL | ( | TAlgorithmId & | aAlgorithmId, |
const TDesC8 & | aEncodedParams | |||
) | [static] |
Creates a new algorithm ID object.
Parameter | Description |
---|---|
aAlgorithmId | The algorithm ID. |
aEncodedParams | The encoded parameters. |
Returns: A pointer to the new algorithm ID object.
IMPORT_C CAlgorithmIdentifier * | NewLC | ( | const CAlgorithmIdentifier & | aAlgorithmIdentifier | ) | [static] |
Creates a new algorithm ID object copied from an existing object, and puts a pointer to the new object onto the cleanup stack.
Parameter | Description |
---|---|
aAlgorithmIdentifier | The algorithm ID object to be copied. |
Returns: A pointer to the new algorithm ID object.
IMPORT_C CAlgorithmIdentifier * | NewLC | ( | TAlgorithmId & | aAlgorithmId, |
const TDesC8 & | aEncodedParams | |||
) | [static] |
Creates a new algorithm ID object, and puts a pointer to the new object onto the cleanup stack.
Parameter | Description |
---|---|
aAlgorithmId | The algorithm ID. |
aEncodedParams | The encoded parameters. |
Returns: A pointer to the new algorithm ID object.
IMPORT_C TBool | operator== | ( | const CAlgorithmIdentifier & | aAlgorithmIdentifier | ) | const |
Tests whether this algorithm identifier object is equal to the specified algorithm identifier object.
Parameter | Description |
---|---|
aAlgorithmIdentifier | The algorithm identifier object to be compared. |
Returns: ETrue, if this algorithm identifier object is equal to the specified algorithm identifier object; EFalse otherwise.