TASN1DecBMPString Class Reference

#include <asn1dec.h>

class TASN1DecBMPString
Public Member Functions
TASN1DecBMPString()
IMPORT_C HBufC *DecodeDERL(const TDesC8 &, TInt &)
IMPORT_C HBufC *DecodeDERL(const TASN1DecGeneric &)
Protected Member Functions
IMPORT_C TIntCheckValid(const TDesC8 &)

Detailed Description

Class used for decoding ASN.1 BMP strings.

Constructor & Destructor Documentation

TASN1DecBMPString ( )

IMPORT_CTASN1DecBMPString()

Member Function Documentation

CheckValid ( const TDesC8 & )

IMPORT_C TIntCheckValid(const TDesC8 &aSource)[protected]

DecodeDERL ( const TDesC8 &, TInt & )

IMPORT_C HBufC *DecodeDERL(const TDesC8 &aSource,
TInt &aPos
)

Decodes an ASN.1 format BMP string.

Parameters
aSourceASN.1 BMP string to be decoded.
aPosOffset in aSource from where decoding starts.
Return Value
On return, a pointer to a buffer containing the decoded BMP string.

DecodeDERL ( const TASN1DecGeneric & )

IMPORT_C HBufC *DecodeDERL(const TASN1DecGeneric &aSource)

Decodes an ASN.1 format BMP string.

Parameters
aSourceASN.1 BMP string to be decoded.
Return Value
On return, a pointer to a buffer containing the decoded BMP string.