Definition at line 66 of file asn1reader.h.
OSB_LIB::Asn1Info::Asn1Info | ( | long | filePos = -1 |
) | [explicit] |
Default constructor with optional file position.
size_t OSB_LIB::Asn1Info::construct | ( | const Asn1Byte * | data, | |
size_t | size | |||
) | [private] |
Construct from ASN.1 data.
data | ASN.1 data: tag, length and data. | |
size | Size of the ASN.1 data. |
const Asn1Byte * OSB_LIB::Asn1Info::data | ( | ) | const [inline] |
const OSB_LIB::Asn1Len & OSB_LIB::Asn1Info::dataLen | ( | ) | const [inline] |
Get information about the data length.
Definition at line 301 of file asn1reader.h.
References dataLen_.
long OSB_LIB::Asn1Info::filePos | ( | ) | const [inline] |
The position of the ASN.1 record in the input stream.
It is -1 if the position is not available.
Definition at line 286 of file asn1reader.h.
References filePos_.
size_t OSB_LIB::Asn1Info::getTagAndLen | ( | const Asn1Byte * | data, | |
size_t | size | |||
) | [private] |
Get tag and length from input data.
data | Data to use. | |
size | Size of data. |
size_t OSB_LIB::Asn1Info::nextMember | ( | Asn1Info & | dest | ) |
Determine the ASN.1 member.
dest | Gets the next ASN.1 member if available. |
const OSB_LIB::Asn1Tag & OSB_LIB::Asn1Info::tag | ( | ) | const [inline] |
size_t OSB_LIB::Asn1Info::tagValue | ( | ) | const [inline] |
Short-hand: value of the tag.
Definition at line 291 of file asn1reader.h.
References tag_, and OSB_LIB::Asn1Tag::value().
friend class Asn1Reader [friend] |
size_t OSB_LIB::Asn1Info::asn1Size_ [private] |
size_t OSB_LIB::Asn1Info::curPos_ [private] |
const Asn1Byte* OSB_LIB::Asn1Info::data_ [private] |
Binary data of the ASN.1 type.
This memory is owned by the ASN.1 reader, see also class description.
Definition at line 142 of file asn1reader.h.
Referenced by data().
Asn1Len OSB_LIB::Asn1Info::dataLen_ [private] |
long OSB_LIB::Asn1Info::filePos_ [private] |
The position of the ASN.1 record in the input stream.
Definition at line 128 of file asn1reader.h.
Referenced by filePos().
Asn1Tag OSB_LIB::Asn1Info::tag_ [private] |
ASN.1 tag of data_.
Definition at line 130 of file asn1reader.h.
Referenced by tag(), and tagValue().