Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509keys.h
Link against: x509.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TASN1DecDSAKeyPair

class TASN1DecDSAKeyPair;

Description

Class for decoding DSA key pairs from ASN.1 DER encoding.

Members

Defined in TASN1DecDSAKeyPair:
DecodeDERL()


Member functions


DecodeDERL()

IMPORT_C void DecodeDERL(const TDesC8 &aDER, TInt &aPos, CDSAPublicKey *&aPublicKey, CDSAPrivateKey *&aPrivateKey);

Description

Decodes a DSA key pair from a buffer containing an ASN.1 DER-encoded private key.

The encoding of the private key contains public key components as well.

The DER encoding has the following format:

Parameters

const TDesC8 &aDER

DER-encoded private key.

TInt &aPos

Position in the buffer to start decoding (updated on exit).

CDSAPublicKey *&aPublicKey

On return, the DSA public key object

CDSAPrivateKey *&aPrivateKey

On return, the DSA private key object