Location:
asn1enc.h
Link against: asn1.lib
class CASN1EncEncoding : public CASN1EncBase;
Class for encapsulation of already encoded data.
Wraps it so that the data could be used in the ASN.1 hierarchy. It reverse-engineers and stores the encoded data, providing whatever information is needed to override pure virtual methods of the base class and write out the DER encoding in its initial form.
CBase
- Base class for all classes to be instantiated on the heap
CASN1EncBase
- Base class for all ASN.1 types that we can encode
CASN1EncEncoding
- Class for encapsulation of already encoded data
Defined in CASN1EncEncoding
:
CASN1EncEncoding()
, CalculateContentsLengthDER()
, IsConstructed()
, NewL()
, NewLC()
, NewLC()
, WriteContentsDERL()
, ~CASN1EncEncoding()
Inherited from CASN1EncBase
:
ConstructL()
,
LengthDER()
,
SetTag()
,
WriteDERL()
,
WriteLengthDER()
,
iContentsLengthDER
,
iLengthLengthDER
,
iTagLengthDER
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CASN1EncEncoding *NewLC(const TDesC8 &aEncoding);
Creates a new object from raw DER encoding and places it on the cleanup stack.
|
|
static IMPORT_C CASN1EncEncoding *NewL(const TDesC8 &aEncoding);
Creates a new object from reaw DER encoding.
|
|
static IMPORT_C CASN1EncEncoding *NewLC(const TDesC8 &aEncoding, TTagType aType, TASN1Class aClass);
|
|
private: virtual void WriteContentsDERL(TDes8 &aBuf) const;
Writes DER content encoding into supplied buffer, which is already verified to be big enough.
|
private: virtual void CalculateContentsLengthDER();
Calculates number of octets in DER content encoding. Sets value of the appropriate data member.