CDSAKeyPair Class Reference

class CDSAKeyPair : public CBase

This class is capable of generating a DSA public/private key pair.

Inherits from

Constructor & Destructor Documentation

CDSAKeyPair(void)

IMPORT_C CDSAKeyPair ( void ) [protected]

Default constructor

Parameters

void

CDSAKeyPair(const CDSAKeyPair &)

CDSAKeyPair ( const CDSAKeyPair & ) [private]

Parameters

const CDSAKeyPair &

~CDSAKeyPair(void)

IMPORT_C ~CDSAKeyPair ( void ) [virtual]

The destructor frees all resources owned by the object, prior to its destruction.

Parameters

void

Member Functions Documentation

ConstructL(TUint)

void ConstructL ( TUint aSize ) [private]

Parameters

TUint aSize

NewL(TUint)

IMPORT_C CDSAKeyPair * NewL ( TUint aSize ) [static]

Creates a new DSA key pair and also a DSA prime certificate

Parameters

TUint aSize The length (in bits) of the DSA parameter, p (the prime)

NewLC(TUint)

IMPORT_C CDSAKeyPair * NewLC ( TUint aSize ) [static]

Creates a new DSA key pair and also a DSA prime certificate

The returned pointer is put onto the cleanup stack.

Parameters

TUint aSize The length (in bits) of the DSA parameter, p (the prime)

PrimeCertificate(void)

IMPORT_C const CDSAPrimeCertificate & PrimeCertificate ( void ) const

Gets the DSA prime certificate (i.e., the seed and counter)

Parameters

void

PrivateKey(void)

IMPORT_C const CDSAPrivateKey & PrivateKey ( void ) const

Gets the DSA private key

Parameters

void

PublicKey(void)

IMPORT_C const CDSAPublicKey & PublicKey ( void ) const

Gets the DSA public key

Parameters

void

operator=(const CDSAKeyPair &)

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

Parameters

const CDSAKeyPair &

Member Data Documentation

CDSAPrimeCertificate * iPrimeCertificate

CDSAPrimeCertificate * iPrimeCertificate [protected]

The DSA prime certificate

CDSAPrivateKey * iPrivate

CDSAPrivateKey * iPrivate [protected]

The DSA private key

CDSAPublicKey * iPublic

CDSAPublicKey * iPublic [protected]

The DSA public key