class CASN1EncBigInt : public CASN1EncPrimitive |
Class for encoding Big Integer objects only - use CASN1EncInt for TInts.
Public Member Functions | |
---|---|
~CASN1EncBigInt() | |
IMPORT_C CASN1EncBigInt * | NewL(const TInteger &) |
IMPORT_C CASN1EncBigInt * | NewLC(const TInteger &) |
Private Member Functions | |
---|---|
CASN1EncBigInt() | |
void | CalculateContentsLengthDER() |
void | ConstructL(const TInteger &) |
void | WriteContentsDERL(TDes8 &) |
Private Attributes | |
---|---|
HBufC8 * | iContents |
TPtrC8 | iWriteContents |
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 | ConstructL | ( | const TInteger & | aInteger | ) | [private] |
const TInteger & aInteger |
IMPORT_C CASN1EncBigInt * | NewL | ( | const TInteger & | aInteger | ) | [static] |
const TInteger & aInteger |
IMPORT_C CASN1EncBigInt * | NewLC | ( | const TInteger & | aInteger | ) | [static] |
const TInteger & aInteger |
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. |