| class CASN1EncGeneralizedTime : public CASN1EncPrimitive |
Class for encoding GeneralisedTime objects.
Doesn't support fractions of seconds or regional time zone offsets.
| Public Member Functions | |
|---|---|
| IMPORT_C CASN1EncGeneralizedTime * | NewL(const TTime &) |
| IMPORT_C CASN1EncGeneralizedTime * | NewLC(const TTime &) |
| Private Member Functions | |
|---|---|
| CASN1EncGeneralizedTime(const TTime &) | |
| void | CalculateContentsLengthDER() |
| void | WriteContentsDERL(TDes8 &) |
| Private Attributes | |
|---|---|
| TDateTime | iDateTime |
| Inherited Attributes | |
|---|---|
| CASN1EncBase::iContentsLengthDER | |
| CASN1EncBase::iLengthLengthDER | |
| CASN1EncBase::iTagLengthDER | |
| CASN1EncGeneralizedTime | ( | const TTime & | aTime | ) | [private] |
| const TTime & aTime |
| void | CalculateContentsLengthDER | ( | ) | [private, virtual] |
Calculates number of octets in DER content encoding. Must set value of the appropriate data member.
| IMPORT_C CASN1EncGeneralizedTime * | NewL | ( | const TTime & | aTime | ) | [static] |
| const TTime & aTime |
| IMPORT_C CASN1EncGeneralizedTime * | NewLC | ( | const TTime & | aTime | ) | [static] |
| const TTime & aTime |
| 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. |