CX509DSAPublicKey Class Reference

#include <x509keys.h>

class CX509DSAPublicKey : public CDSAPublicKey

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()
voidConstructL(const TDesC8 &, const TDesC8 &, TInt &)
voidConstructL(const CDSAParameters &, const TDesC8 &, TInt &)
Inherited Attributes
CDSAParameters::iG
CDSAParameters::iP
CDSAParameters::iQ
CDSAPublicKey::iY
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)

Detailed Description

Encapsulates the X.509 DSA public key.

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

Since
v6.0

Constructor & Destructor Documentation

CX509DSAPublicKey ( )

CX509DSAPublicKey()[protected]

Member Function Documentation

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

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

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

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

DSAParametersL ( const TDesC8 & )

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

Gets the DSA parameters from the encoding key.

Parameters
aParamsDataA non-modifiable descriptor representing the entire encoding.
Return Value
The DSA parameters.

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
aParamsDataA non-modifiable descriptor representing the entire encoding.
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsThe DSA parameters.
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsDataA non-modifiable descriptor representing the entire encoding.
aBinaryDataThe encoded binary representation.
aPosThe position from which to start decoding.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsThe DSA parameters.
aBinaryDataThe encoded binary representation.
aPosThe position from which to start decoding.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsDataA non-modifiable descriptor representing the entire encoding.
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsThe DSA parameters.
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsDataA non-modifiable descriptor representing the entire encoding.
aBinaryDataThe encoded binary representation.
aPosThe position from which to start decoding.
Return Value
A pointer to the new CX509DSAPublicKey object.

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
aParamsThe DSA parameters.
aBinaryDataThe encoded binary representation.
aPosThe position from which to start decoding.
Return Value
A pointer to the new CX509DSAPublicKey object.