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

Constructor & Destructor Documentation

CDSAPrimeCertificate(TUint)

IMPORT_C CDSAPrimeCertificate ( TUint aCounter ) [protected]

Constructor

Parameters

TUint aCounter The DSA key generation counter

CDSAPrimeCertificate(void)

IMPORT_C CDSAPrimeCertificate ( 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 &)

void ConstructL ( const TDesC8 & aSeed ) [protected]

Parameters

const TDesC8 & aSeed

Counter(void)

IMPORT_C TUint Counter ( void ) const

Gets the counter value of the DSA prime certificate

Parameters

void

NewL(const TDesC8 &, TUint)

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

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

Parameters

const TDesC8 & aSeed The seed from a DSA key generation process
TUint aCounter The counter value from a DSA key generation process

NewLC(const TDesC8 &, TUint)

IMPORT_C CDSAPrimeCertificate * NewLC ( const TDesC8 & aSeed,
TUint aCounter
) [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 & aSeed The seed from a DSA key generation process
TUint aCounter The 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