CASN1EncBitString Class Reference
| class CASN1EncBitString : public CASN1EncPrimitive |
| Inherited Functions |
|---|
| | CASN1EncBase::CASN1EncBase(const TTagType,const TASN1Class) |
| | CASN1EncBase::CalculateLengthLengthDER() |
| | CASN1EncBase::ConstructL() |
| | CASN1EncBase::ContentsLengthChanged() |
| | CASN1EncBase::LengthDER()const |
| | CASN1EncBase::SetParent(CASN1EncBase *) |
| | CASN1EncBase::SetTag(const TTagType,const TASN1Class) |
| | CASN1EncBase::WriteDERL(TDes8 &,TUint &)const |
| | CASN1EncBase::~CASN1EncBase() |
| | CASN1EncPrimitive::CASN1EncPrimitive(const TTagType) |
| | CBase::CBase() |
| | CBase::Delete(CBase *) |
| | CBase::Extension_(TUint,TAny *&,TAny *) |
| | CBase::operator new(TUint) |
| | CBase::operator new(TUint,TAny *) |
| | CBase::operator new(TUint,TLeave) |
| | CBase::operator new(TUint,TLeave,TUint) |
| | CBase::operator new(TUint,TUint) |
| | CBase::~CBase() |
Detailed Description
Class for encoding bit strings (keys, for example).
Constructor & Destructor Documentation
~CASN1EncBitString ( )
| IMPORT_C | ~CASN1EncBitString | ( | ) | |
Member Function Documentation
NewL ( const TDesC8 & )
Constructs a new DER bit string encoder from a bit string that does not have unused bits at the end, i.e. is octet-aligned. The passed string must be in big-endian format.
| Parameter | Description | | aBitStr | Octet-aligned bit string. |
Returns: A new DER bit string encoder object.
NewL ( const TDesC8 &, TUint )
Constructs a new DER bit string encoder from a bit string that is not octet-aligned, which means it has unused bits in its last octet. The passed string must be in big-endian format.
| Parameter | Description | | aBitStr | Bit string. |
| aLengthBits | Length in bits of the passed bit string. The function will panic if aLengthBits is greater than the actual bit length of aBitString, or the difference is more that 7 bits. |
Returns: A new DER bit string encoder object.
NewL ( const CASN1EncBase & )
Wraps the passed encoding object into a bit string.
| Parameter | Description | | aAsnObj | Encoding object to wrap. |
Returns: A new bit string containing the passed encoding object.
NewLC ( const TDesC8 & )
Constructs a new DER bit string encoder from a bit string that does not have unused bits at the end, i.e. is octet-aligned. The passed string must be in big-endian format.
| Parameter | Description | | aBitStr | Octet-aligned bit string. |
Returns: A new DER bit string encoder object, which is left on the cleanup stack.
NewLC ( const TDesC8 &, TUint )
Constructs a new DER bit string encoder from a bit string that is not octet-aligned, which means it has unused bits in its last octet. The passed string must be in big-endian format.
| Parameter | Description | | aBitStr | Bit string. |
| aLengthBits | Length in bits of the passed bit string. The function will panic if aLengthBits is greater than the actual bit length of aBitString, or the difference is more that 7 bits. |
Returns: A new DER bit string encoder object which is left on the cleanup stack.
NewLC ( const CASN1EncBase & )
Wraps the passed encoding object into a bit string.
| Parameter | Description | | aAsnObj | Encoding object to wrap. |
Returns: A new bit string containing the passed encoding object on the cleanup stack.