CDSAPrimeCertificate Class Reference

class CDSAPrimeCertificate : public CBase

Representation of the parameters used to generate the primes in a CDSAParameters object.

Given such a certificate, one can ensure that the DSA primes contained in CDSAParameters were generated correctly.

CDSAParameters::ValidatePrimesL()

Inherits from

  • CDSAPrimeCertificate

Constructor & Destructor Documentation

CDSAPrimeCertificate(TUint)

IMPORT_CCDSAPrimeCertificate(TUintaCounter)[protected]

Constructor

Parameters

TUint aCounterThe DSA key generation counter

CDSAPrimeCertificate(void)

IMPORT_CCDSAPrimeCertificate(void)[protected]

Default constructor

Parameters

void

CDSAPrimeCertificate(const CDSAPrimeCertificate &)

CDSAPrimeCertificate(const CDSAPrimeCertificate &)[private]

Parameters

const CDSAPrimeCertificate &

~CDSAPrimeCertificate(void)

IMPORT_C~CDSAPrimeCertificate(void)[virtual]

Destructor

Parameters

void

Member Functions Documentation

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aSeed)[protected]

Parameters

const TDesC8 & aSeed

Counter(void)

IMPORT_C TUintCounter(void)const

Gets the counter value of the DSA prime certificate

Parameters

void

NewL(const TDesC8 &, TUint)

IMPORT_C CDSAPrimeCertificate *NewL(const TDesC8 &aSeed,
TUintaCounter
)[static]

Creates a new DSA prime certificate from a specified seed and counter value.

Parameters

const TDesC8 & aSeedThe seed from a DSA key generation process
TUint aCounterThe counter value from a DSA key generation process

NewLC(const TDesC8 &, TUint)

IMPORT_C CDSAPrimeCertificate *NewLC(const TDesC8 &aSeed,
TUintaCounter
)[static]

Creates a new DSA prime certificate from a specified seed and counter value.

The returned pointer is put onto the cleanup stack.

Parameters

const TDesC8 & aSeedThe seed from a DSA key generation process
TUint aCounterThe counter value from a DSA key generation process

Seed(void)

IMPORT_C const TDesC8 &Seed(void)const

Gets the seed of the DSA prime certificate

Parameters

void

operator=(const CDSAPrimeCertificate &)

CDSAPrimeCertificate &operator=(const CDSAPrimeCertificate &)[private]

Parameters

const CDSAPrimeCertificate &

Member Data Documentation

TUint iCounter

TUint iCounter[protected]

The DSA key generation counter

const HBufC8 * iSeed

const HBufC8 *iSeed[protected]

The DSA key generation seed