CSigningAlgorithmIdentifier Class Reference

#include <signed.h>

Link against: crypto.lib

class CSigningAlgorithmIdentifier : public CBase

Inherits from

  • CSigningAlgorithmIdentifier

Detailed Description

Contains two CAlgorithmIdentifier objects for comparison purposes.

Implements an equality operator.

Since
v6.0

Member Attribute Documentation

iAsymmetricAlgorithm

CAlgorithmIdentifier *iAsymmetricAlgorithm[protected]

The signature ID of the asymmetric algorithm.

iDigestAlgorithm

CAlgorithmIdentifier *iDigestAlgorithm[protected]

The signature ID of the digest algorithm.

Constructor & Destructor Documentation

~CSigningAlgorithmIdentifier ( )

IMPORT_C~CSigningAlgorithmIdentifier()

Destructor.

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

Member Function Documentation

AsymmetricAlgorithm ( )

IMPORT_C const CAlgorithmIdentifier &AsymmetricAlgorithm()const

Gets the signature ID of the asymmetric algorithm.

Return Value
The signature ID of the asymmetric algorithm.

ConstructL ( const CSigningAlgorithmIdentifier & )

voidConstructL(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier)[protected]

Second-phase constructor.

DigestAlgorithm ( )

IMPORT_C const CAlgorithmIdentifier &DigestAlgorithm()const

Gets the signature ID of the digest algorithm.

Return Value
The signature ID of the digest algorithm.

NewL ( const CSigningAlgorithmIdentifier & )

IMPORT_C CSigningAlgorithmIdentifier *NewL(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier)[static]

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

Parameters
aSigningAlgorithmIdentifierThe Signing Algorithm Identifier object.
Return Value
The new Signing Algorithm Identifier object.

NewLC ( const CSigningAlgorithmIdentifier & )

IMPORT_C CSigningAlgorithmIdentifier *NewLC(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier)[static]

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
aSigningAlgorithmIdentifierThe Signing Algorithm Identifier object.
Return Value
The new Signing Algorithm Identifier object.

operator== ( const CSigningAlgorithmIdentifier & )

IMPORT_C TBooloperator==(const CSigningAlgorithmIdentifier &aSigningAlgorithmIdentifier)const

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

Parameters
aSigningAlgorithmIdentifierThe Signing Algorithm Identifier object to be compared.
Return Value
ETrue, if this object's Signing Algorithm Identifier value is equal to the specified Signing Algorithm Identifier object's value; EFalse, otherwise.