class CASN1EncPrintableString : public CASN1EncPrimitive |
Class for encoding printable strings.
Public Member Functions | |
---|---|
~CASN1EncPrintableString() | |
IMPORT_C CASN1EncPrintableString * | NewL(const TDesC8 &) |
IMPORT_C CASN1EncPrintableString * | NewLC(const TDesC8 &) |
Private Member Functions | |
---|---|
CASN1EncPrintableString() | |
void | CalculateContentsLengthDER() |
TInt | CheckValid(const TDesC8 &) |
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.
TInt | CheckValid | ( | const TDesC8 & | aStr | ) | [private] |
const TDesC8 & aStr |
void | ConstructL | ( | const TDesC8 & | aStr | ) | [private] |
const TDesC8 & aStr |
IMPORT_C CASN1EncPrintableString * | NewL | ( | const TDesC8 & | aStr | ) | [static] |
Creates an ASN.1 Printable String encoder. The fully constructed object.
const TDesC8 & aStr |
IMPORT_C CASN1EncPrintableString * | NewLC | ( | const TDesC8 & | aStr | ) | [static] |
Creates an ASN.1 Printable String encoder, and puts it onto the cleanup stack. The fully constructed object.
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. |