Utility for encoding and decoding primitive BER constructs and values.
Synopsis
Declared in <balber_berutil.h>
struct BerUtil;
Description
This utility contains functions to encode and decode primitive BER constructs and simple value semantic types. By convention, all functions return 0 on success, and a non‐zero value otherwise. Also by convention, all the "get" functions take an accumNumBytesConsumed; each of the functions will add to this variable the number of bytes consumed within the scope of the function.
Enums
Name |
Description |
Constants used as BER length sentinels. |
Static Member Functions
Name |
Description |
Decode BER end‐of‐content octets from |
|
Decode BER identifier octets from |
|
Decode BER length octets from |
|
|
|
Encode the "end‐of‐content" octets (two consecutive zero‐octets) to the specified |
|
Encode the identifier octets for the specified |
|
Encode the BER indefinite‐length octet to |
|
Encode the specified |
|
Encode the specified |
Created with MrDocs