CCMSOriginatorPublicKey Class Reference

class CCMSOriginatorPublicKey : public CCMSSequence

OriginatorPublicKey type module

ASN.1 definition: OriginatorPublicKey ::= SEQUENCE { algorithm AlgorithmIdentifier, publicKey BIT STRING }

cms.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CCMSOriginatorPublicKey()

IMPORT_C CCMSOriginatorPublicKey ( ) [protected]

C++ default constructor.

~CCMSOriginatorPublicKey()

~CCMSOriginatorPublicKey ( ) [virtual]

Destructor.

Member Functions Documentation

Algorithm()

IMPORT_C const CCMSX509AlgorithmIdentifier & Algorithm ( ) const
Getter for algorithm identifier
Since
2.8

ConstructL(const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C void ConstructL ( const CCMSX509AlgorithmIdentifier & aAlgorithm,
const TDesC8 & aPublicKey
) [protected]

Protected construction to allow derivation

Parameters

const CCMSX509AlgorithmIdentifier & aAlgorithm
const TDesC8 & aPublicKey

DecodeL(const TDesC8 &)

void DecodeL ( const TDesC8 & aRawData )
From MCMSModule
Since
2.8

Parameters

const TDesC8 & aRawData raw-data to be parsed in this instance

EncoderLC()

CASN1EncBase * EncoderLC ( ) const
From MCMSModule
Since
2.8

NewL()

IMPORT_C CCMSOriginatorPublicKey * NewL ( ) [static]

Two-phased constructor.

NewL(const CCMSOriginatorPublicKey &)

IMPORT_C CCMSOriginatorPublicKey * NewL ( const CCMSOriginatorPublicKey & aOriginatorPublicKey ) [static]

Two-phased copy constructor.

Parameters

const CCMSOriginatorPublicKey & aOriginatorPublicKey

NewL(const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C CCMSOriginatorPublicKey * NewL ( const CCMSX509AlgorithmIdentifier & aAlgorithm,
const TDesC8 & aPublicKey
) [static]

Two-phased constructor. Copies of the parameters are made.

Parameters

const CCMSX509AlgorithmIdentifier & aAlgorithm Algorithm Identifier.
const TDesC8 & aPublicKey The public key. Must be in big-endian order.

NewLC(const CCMSOriginatorPublicKey &)

IMPORT_C CCMSOriginatorPublicKey * NewLC ( const CCMSOriginatorPublicKey & aOriginatorPublicKey ) [static]

Two-phased copy constructor. Leaves the created object to cleanup stack.

Parameters

const CCMSOriginatorPublicKey & aOriginatorPublicKey

NewLC(const CCMSX509AlgorithmIdentifier &, const TDesC8 &)

IMPORT_C CCMSOriginatorPublicKey * NewLC ( const CCMSX509AlgorithmIdentifier & aAlgorithm,
const TDesC8 & aPublicKey
) [static]

Two-phased constructor. Copies of the parameters are made. Leaves the created object to cleanup stack

Parameters

const CCMSX509AlgorithmIdentifier & aAlgorithm Algorithm Identifier.
const TDesC8 & aPublicKey The public key. Must be in big-endian order.

PublicKey()

IMPORT_C const TDesC8 & PublicKey ( ) const
Getter for public key
Since
2,8

SetAlgorithmL(const CCMSX509AlgorithmIdentifier &)

IMPORT_C void SetAlgorithmL ( const CCMSX509AlgorithmIdentifier & aAlgorithm )
Setter for algorithm identifier. Create a copy of the parameters.
Since
2.8

Parameters

const CCMSX509AlgorithmIdentifier & aAlgorithm the algorithm identifier

SetPublicKeyL(const TDesC8 &)

IMPORT_C void SetPublicKeyL ( const TDesC8 & aPublicKey )
Setter for public key. Creates a copy of the parameter.
Since
2,8

Parameters

const TDesC8 & aPublicKey the public key in big-endian format

Member Data Documentation

CCMSX509AlgorithmIdentifier * iAlgorithm

CCMSX509AlgorithmIdentifier * iAlgorithm [private]

HBufC8 * iPublicKey

HBufC8 * iPublicKey [private]