![]() |
Home | Libraries | People | FAQ | More |
The asn_container_t template
supplied by the Boost.ASN1 library is simple mechanism for applications
to send/receive sequences of ASN1 objects in a vector like manner. The
asn_container_t template
supports simple vector methods for manipulating data; assign(),
append(), get() and erase().
![]() |
Note |
|---|---|
Creating support for complex protocols with |
This template has specializations for the various containers required by the ASN1 specification.
The ASN1 container objects allow for very simple usage. For instance, to assign data, you can do the following:
sequence_t simpleSequence; simpleSequence.append(integer_t(1)) .append(ia5string_t("text.")); octectstring_t oString = simpleSequence.get(1); cout << oString << endl;
| Copyright © 2007 Andreas Haberstroh |