#include <p6asn1.h>
Public Attributes | |
P6UINT8 | choice |
union { | |
P6INT16 int16 | |
P6INT32 int32 | |
P6INT64 int64 | |
P6INT8 int8 | |
P6UINT16 uInt16 | |
P6UINT32 uInt32 | |
P6UINT64 uInt64 | |
P6UINT8 uInt8 | |
} | type |
Used in decoding functions, since we do not know the type of the integer until we look at its length and MSB.
The ASN.1 BER encoding uses twos-complement binary representation of an integer value. Thus the MSB will be a negative value.