class CASN1EncBoolean : public CASN1EncPrimitive |
Class for encoding Boolean values.
Public Member Functions | |
---|---|
IMPORT_C CASN1EncBoolean * | NewL(const TBool) |
IMPORT_C CASN1EncBoolean * | NewLC(const TBool) |
Private Member Functions | |
---|---|
CASN1EncBoolean(const TBool) | |
void | CalculateContentsLengthDER() |
void | WriteContentsDERL(TDes8 &) |
Private Attributes | |
---|---|
const TBool | iBool |
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.
IMPORT_C CASN1EncBoolean * | NewL | ( | const TBool | aBool | ) | [static] |
const TBool aBool |
IMPORT_C CASN1EncBoolean * | NewLC | ( | const TBool | aBool | ) | [static] |
const TBool aBool |
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. |