Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <x509keys.h>
Link against: x509.lib
This item is not part of the S60 5th Edition SDK

Class CX509DSAPublicKey

class CX509DSAPublicKey : public CDSAPublicKey;

Description

Encapsulates the X.509 DSA public key.

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

Derivation

Members

Defined in CX509DSAPublicKey:


Construction and destruction


NewL(const TDesC8 &,const TDesC8 &)

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


NewLC(const TDesC8 &,const TDesC8 &)

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


NewL(const CDSAParameters &,const TDesC8 &)

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

Description

Creates a new X.509 DSA public key object.

Parameters

const CDSAParameters &aParams

The DSA parameters.

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


NewLC(const CDSAParameters &,const TDesC8 &)

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


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

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


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

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


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

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.


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

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

Description

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.

Return value

CX509DSAPublicKey *

A pointer to the new CX509DSAPublicKey object.

[Top]


Member functions


DSAParametersL(const TDesC8 &)

IMPORT_C static CDSAParameters* DSAParametersL(const TDesC8 &aParamsData);

Description

Gets the DSA parameters from the encoding key.

Parameters

const TDesC8 &aParamsData

A non-modifiable descriptor representing the entire encoding.

Return value

CDSAParameters *

The DSA parameters.