class CASN1EncInt : public CASN1EncPrimitive |
Class for encoding TInts only. Use CASN1EncBigInt for encoding Big Integer objects.
Public Member Functions | |
---|---|
IMPORT_C CASN1EncInt * | NewL(const TInt) |
IMPORT_C CASN1EncInt * | NewLC(const TInt) |
Private Member Functions | |
---|---|
CASN1EncInt(const TInt) | |
void | CalculateContentsLengthDER() |
void | WriteContentsDERL(TDes8 &) |
Private Attributes | |
---|---|
const TInt | iInt |
Inherited Attributes | |
---|---|
CASN1EncBase::iContentsLengthDER | |
CASN1EncBase::iLengthLengthDER | |
CASN1EncBase::iTagLengthDER |
void | CalculateContentsLengthDER | ( | ) | [private, virtual] |
Calculates number of octets in DER content encoding. Must set value of the appropriate data member.
void | WriteContentsDERL | ( | TDes8 & | aBuf | ) | const [private, virtual] |
Writes DER content encoding into supplied buffer, which is already verified to be big enough. Must be implemented by derived classes.
TDes8 & aBuf | Buffer to write to. |