class CASN1EncOctetString : public CASN1EncPrimitive |
Class for encoding octet strings.
Public Member Functions | |
---|---|
~CASN1EncOctetString() | |
IMPORT_C CASN1EncOctetString * | NewL(const TDesC8 &) |
IMPORT_C CASN1EncOctetString * | NewLC(const TDesC8 &) |
Private Member Functions | |
---|---|
CASN1EncOctetString() | |
void | CalculateContentsLengthDER() |
void | ConstructL(const TDesC8 &) |
void | WriteContentsDERL(TDes8 &) |
Private Attributes | |
---|---|
HBufC8 * | iContents |
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 TDesC8 & | aStr | ) | [private] |
const TDesC8 & aStr |
IMPORT_C CASN1EncOctetString * | NewL | ( | const TDesC8 & | aStr | ) | [static] |
const TDesC8 & aStr |
IMPORT_C CASN1EncOctetString * | NewLC | ( | const TDesC8 & | aStr | ) | [static] |
const TDesC8 & aStr |
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. |