ASN1BERMessageBuffer Class Reference
[BER Message Buffer Classes]
#include <asn1BerCppTypes.h>
Inheritance diagram for ASN1BERMessageBuffer:

Detailed Description
The ASN1BERMessageBuffer class is derived from the ASN1MessageBuffer base class. It is the base class for the ASN1BEREncodeBuffer and ASN1BERDecodeBuffer derived classes. It contains variables and methods specific to encoding or decoding ASN.1 messages using the Basic Encoding Rules(BER) and Distinguished Encoding Rules (DER). It is used to manage the buffer into which an ASN.1 message is to be encoded or decoded.
Public Member Functions | |
| int | calcIndefLen (OSOCTET *buf_p, int bufSize=INT_MAX) |
| void | binDump () |
| void | hexDump (int numocts) |
| int | CalcIndefLen (OSOCTET *buf_p) |
| void | BinDump () |
| void | HexDump (int numocts) |
Protected Member Functions | |
| ASN1BERMessageBuffer (Type bufferType) | |
Constructor & Destructor Documentation
|
|
The protected constructor creates a new context and sets the buffer class type. Use getStatus() method to determine has error occured during the initialization or not.
|
Member Function Documentation
|
|
This method outputs a formatted binary dump of the current buffer contents to stdout. Calling Sequence:
where messageBuffer is an ASN1BERMessageBuffer derived class object. |
|
||||||||||||
|
This method calculates the actual length of an indefinite length message component. Calling Sequence:
where messageBuffer is an ASN1BERMessageBuffer derived class object.
|
|
|
This method outputs a hexadecimal dump of the current buffer contents to stdout. Calling sequence:
where messageBuffer is an ASN1BERMessageBuffer derived class object. |
The documentation for this class was generated from the following file:
