Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: signed.h
Link against: crypto.lib

Class CSigningAlgorithmIdentifier

class CSigningAlgorithmIdentifier : public CBase;

Description

Contains two CAlgorithmIdentifier objects for comparison purposes.

Implements an equality operator.

Derivation

Members

Defined in CSigningAlgorithmIdentifier:
AsymmetricAlgorithm(), DigestAlgorithm(), NewL(), NewLC(), iAsymmetricAlgorithm, iDigestAlgorithm, operator==(), ~CSigningAlgorithmIdentifier()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CSigningAlgorithmIdentifier *NewL(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier);

Description

Constructs a new Signing Algorithm Identifier object, copying an existing Signing Algorithm Identifier object.

Parameters

const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier

The Signing Algorithm Identifier object.

Return value

CSigningAlgorithmIdentifier *

The new Signing Algorithm Identifier object.


NewLC()

static IMPORT_C CSigningAlgorithmIdentifier *NewLC(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier);

Description

Constructs a new Signing Algorithm Identifier object, copying an existing Signing Algorithm Identifier object, and puts a pointer to it onto the cleanup stack.

Parameters

const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier

The Signing Algorithm Identifier object.

Return value

CSigningAlgorithmIdentifier *

The new Signing Algorithm Identifier object.


~CSigningAlgorithmIdentifier()

IMPORT_C ~CSigningAlgorithmIdentifier();

Description

Destructor.

Frees all resources owned by the object, prior to its destruction.

[Top]


Member functions


operator==()

IMPORT_C TBool operator==(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier) const;

Description

Tests whether the Signing Algorithm Identifier object is equal to the specified Signing Algorithm Identifier object.

Parameters

const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier

The Signing Algorithm Identifier object to be compared.

Return value

TBool

ETrue, if this object's Signing Algorithm Identifier value is equal to the specified Signing Algorithm Identifier object's value; EFalse, otherwise.


AsymmetricAlgorithm()

IMPORT_C const CAlgorithmIdentifier &AsymmetricAlgorithm() const;

Description

Gets the signature ID of the asymmetric algorithm.

Return value

const CAlgorithmIdentifier &

The signature ID of the asymmetric algorithm.


DigestAlgorithm()

IMPORT_C const CAlgorithmIdentifier &DigestAlgorithm() const;

Description

Gets the signature ID of the digest algorithm.

Return value

const CAlgorithmIdentifier &

The signature ID of the digest algorithm.

[Top]


Member data


iAsymmetricAlgorithm

protected: CAlgorithmIdentifier * iAsymmetricAlgorithm;

Description

The signature ID of the asymmetric algorithm.


iDigestAlgorithm

protected: CAlgorithmIdentifier * iDigestAlgorithm;

Description

The signature ID of the digest algorithm.