CDSAPrimeCertificate Class Reference

#include <asymmetrickeys.h>

class CDSAPrimeCertificate : public CBase

Inherits from

  • CDSAPrimeCertificate

    Detailed Description

    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.

    See also: CDSAParameters::ValidatePrimesL()

    Member Attribute Documentation

    iCounter

    TUint iCounter[protected]

    The DSA key generation counter

    iSeed

    const HBufC8 *iSeed[protected]

    The DSA key generation seed

    Constructor & Destructor Documentation

    CDSAPrimeCertificate ( TUint )

    IMPORT_CCDSAPrimeCertificate(TUintaCounter)[protected]

    Constructor

    ParameterDescription
    aCounterThe DSA key generation counter

    CDSAPrimeCertificate ( void )

    IMPORT_CCDSAPrimeCertificate(void)[protected]

    Default constructor

    ~CDSAPrimeCertificate ( void )

    IMPORT_C~CDSAPrimeCertificate(void)[virtual]

    Destructor

    Member Function Documentation

    ConstructL ( const TDesC8 & )

    voidConstructL(const TDesC8 &aSeed)[protected]

    Counter ( void )

    IMPORT_C TUintCounter(void)const

    Gets the counter value of the DSA prime certificate

    Returns: The counter's value

    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.

    ParameterDescription
    aSeedThe seed from a DSA key generation process
    aCounterThe counter value from a DSA key generation process

    Returns: A pointer to a new CDSAPrimeCertificate object

    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.

    ParameterDescription
    aSeedThe seed from a DSA key generation process
    aCounterThe counter value from a DSA key generation process

    Returns: A pointer to a new CDSAPrimeCertificate object

    Seed ( void )

    IMPORT_C const TDesC8 &Seed(void)const

    Gets the seed of the DSA prime certificate

    Returns: The seed