CX509DSAPublicKey Class Reference

class CX509DSAPublicKey : public CDSAPublicKey

Encapsulates the X.509 DSA public key.

Adds a commitment to a specific encoding scheme allowing superclasses to remain encoding-independent.

Since
v6.0

Inherits from

Public Member Functions
IMPORT_C CDSAParameters * DSAParametersL (const TDesC8 &)
IMPORT_C CX509DSAPublicKey * NewL (const TDesC8 &, const TDesC8 &)
IMPORT_C CX509DSAPublicKey * NewL (const CDSAParameters &, const TDesC8 &)
IMPORT_C CX509DSAPublicKey * NewL (const TDesC8 &, const TDesC8 &, TInt &)
IMPORT_C CX509DSAPublicKey * NewL (const CDSAParameters &, const TDesC8 &, TInt &)
IMPORT_C CX509DSAPublicKey * NewLC (const TDesC8 &, const TDesC8 &)
IMPORT_C CX509DSAPublicKey * NewLC (const CDSAParameters &, const TDesC8 &)
IMPORT_C CX509DSAPublicKey * NewLC (const TDesC8 &, const TDesC8 &, TInt &)
IMPORT_C CX509DSAPublicKey * NewLC (const CDSAParameters &, const TDesC8 &, TInt &)
Protected Member Functions
CX509DSAPublicKey ()
void ConstructL (const TDesC8 &, const TDesC8 &, TInt &)
void ConstructL (const CDSAParameters &, const TDesC8 &, TInt &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CDSAParameters::CDSAParameters(RInteger &,RInteger &,RInteger &)
CDSAParameters::CDSAParameters(void)
CDSAParameters::G(void)const
CDSAParameters::GeneratePrimesL(const TDesC8 &,TUint &,RInteger &,TUint,RInteger &,TBool)
CDSAParameters::NewL(RInteger &,RInteger &,RInteger &)
CDSAParameters::P(void)const
CDSAParameters::Q(void)const
CDSAParameters::ValidPrimeLength(TUint)
CDSAParameters::ValidatePrimesL(const CDSAPrimeCertificate &)const
CDSAParameters::~CDSAParameters(void)
CDSAPublicKey::CDSAPublicKey(RInteger &,RInteger &,RInteger &,RInteger &)
CDSAPublicKey::CDSAPublicKey(void)
CDSAPublicKey::NewL(RInteger &,RInteger &,RInteger &,RInteger &)
CDSAPublicKey::NewLC(RInteger &,RInteger &,RInteger &,RInteger &)
CDSAPublicKey::Y(void)const
CDSAPublicKey::~CDSAPublicKey(void)
Inherited Attributes
CDSAParameters::iG
CDSAParameters::iP
CDSAParameters::iQ
CDSAPublicKey::iY

Constructor & Destructor Documentation

CX509DSAPublicKey()

CX509DSAPublicKey ( ) [protected]

Member Functions Documentation

ConstructL(const TDesC8 &, const TDesC8 &, TInt &)

void ConstructL ( const TDesC8 & aParamsData,
const TDesC8 & aBinaryData,
TInt & aPos
) [protected]

Parameters

const TDesC8 & aParamsData
const TDesC8 & aBinaryData
TInt & aPos

ConstructL(const CDSAParameters &, const TDesC8 &, TInt &)

void ConstructL ( const CDSAParameters & aParams,
const TDesC8 & aBinaryData,
TInt & aPos
) [protected]

Parameters

const CDSAParameters & aParams
const TDesC8 & aBinaryData
TInt & aPos

DSAParametersL(const TDesC8 &)

IMPORT_C CDSAParameters * DSAParametersL ( const TDesC8 & aParamsData ) [static]

Gets the DSA parameters from the encoding key.

Parameters

const TDesC8 & aParamsData A non-modifiable descriptor representing the entire encoding.

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CX509DSAPublicKey * NewL ( const TDesC8 & aParamsData,
const TDesC8 & aBinaryData
) [static]

Creates a new X.509 DSA public key object.

Parameters

const TDesC8 & aParamsData A non-modifiable descriptor representing the entire encoding.
const TDesC8 & aBinaryData The encoded binary representation.

NewL(const CDSAParameters &, const TDesC8 &)

IMPORT_C CX509DSAPublicKey * NewL ( const CDSAParameters & aParams,
const TDesC8 & aBinaryData
) [static]

Creates a new X.509 DSA public key object.

Parameters

const CDSAParameters & aParams The DSA parameters.
const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, const TDesC8 &, TInt &)

IMPORT_C CX509DSAPublicKey * NewL ( const TDesC8 & aParamsData,
const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new X.509 DSA public key object.

Parameters

const TDesC8 & aParamsData A non-modifiable descriptor representing the entire encoding.
const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The position from which to start decoding.

NewL(const CDSAParameters &, const TDesC8 &, TInt &)

IMPORT_C CX509DSAPublicKey * NewL ( const CDSAParameters & aParams,
const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new X.509 DSA public key object.

Parameters

const CDSAParameters & aParams The DSA parameters.
const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The position from which to start decoding.

NewLC(const TDesC8 &, const TDesC8 &)

IMPORT_C CX509DSAPublicKey * NewLC ( const TDesC8 & aParamsData,
const TDesC8 & aBinaryData
) [static]

Creates a new X.509 DSA public key object, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aParamsData A non-modifiable descriptor representing the entire encoding.
const TDesC8 & aBinaryData The encoded binary representation.

NewLC(const CDSAParameters &, const TDesC8 &)

IMPORT_C CX509DSAPublicKey * NewLC ( const CDSAParameters & aParams,
const TDesC8 & aBinaryData
) [static]

Creates a new X.509 DSA public key object, and puts a pointer to it onto the cleanup stack.

Parameters

const CDSAParameters & aParams The DSA parameters.
const TDesC8 & aBinaryData The encoded binary representation.

NewLC(const TDesC8 &, const TDesC8 &, TInt &)

IMPORT_C CX509DSAPublicKey * NewLC ( const TDesC8 & aParamsData,
const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new X.509 DSA public key object, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 & aParamsData A non-modifiable descriptor representing the entire encoding.
const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The position from which to start decoding.

NewLC(const CDSAParameters &, const TDesC8 &, TInt &)

IMPORT_C CX509DSAPublicKey * NewLC ( const CDSAParameters & aParams,
const TDesC8 & aBinaryData,
TInt & aPos
) [static]

Creates a new X.509 DSA public key object, and puts a pointer to it onto the cleanup stack.

Parameters

const CDSAParameters & aParams The DSA parameters.
const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The position from which to start decoding.