CASN1EncEncoding Class Reference
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.
Inherited Functions |
---|
| CASN1EncBase::CASN1EncBase(const TTagType,const TASN1Class) |
| CASN1EncBase::CalculateLengthLengthDER() |
| CASN1EncBase::ConstructL() |
| CASN1EncBase::ContentsLengthChanged() |
| CASN1EncBase::LengthDER()const |
| CASN1EncBase::SetParent(CASN1EncBase *) |
| CASN1EncBase::SetTag(const TTagType,const TASN1Class) |
| CASN1EncBase::WriteDERL(TDes8 &,TUint &)const |
| CASN1EncBase::~CASN1EncBase() |
| 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() |
Constructor & Destructor Documentation
CASN1EncEncoding()
IMPORT_C | CASN1EncEncoding | ( | ) | [protected] |
~CASN1EncEncoding()
IMPORT_C | ~CASN1EncEncoding | ( | ) | |
Member Functions Documentation
CalculateContentsLengthDER()
void | CalculateContentsLengthDER | ( | ) | [private, virtual] |
Calculates number of octets in DER content encoding. Sets value of the appropriate data member.
ConstructL(const TDesC8 &)
void | ConstructL | ( | const TDesC8 & | aEncoding | ) | [private] |
Constructs the wrapper around the passed raw DER encoding. Calculates element sizes. Decodes it to get type and length.
Parameters
const TDesC8 & aEncoding | Raw DER encoding. |
ConstructL(const TDesC8 &, TTagType, TASN1Class)
IsConstructed()
TBool
| IsConstructed | ( | ) | const [private, virtual] |
NewL(const TDesC8 &)
Creates a new object from raw DER encoding.
Parameters
const TDesC8 & aEncoding | Raw DER encoding. |
NewLC(const TDesC8 &)
Creates a new object from raw DER encoding and places it on the cleanup stack.
Parameters
const TDesC8 & aEncoding | Raw DER encoding. |
NewLC(const TDesC8 &, TTagType, TASN1Class)
WriteContentsDERL(TDes8 &)
void | WriteContentsDERL | ( | TDes8 & | aBuf | ) | const [private, virtual] |
Writes DER content encoding into supplied buffer, which is already verified to be big enough.
Parameters
TDes8 & aBuf | Buffer to write to. |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.