ASN.1 Encoding and Decoding Interfaces
BER Encoding Interfaces
Interface |
Definition |
Description |
|---|---|---|
AsnBerEncodeBool |
void AsnBerEncodeBool(const AsnDesc * desc, void* stru, AsnCtx* ctx); |
Encodes data of the bool type. |
AsnBerEncodeInt32 |
void AsnBerEncodeInt32(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the integer type within the int32 range. |
AsnBerEncodeUint32 |
void AsnBerEncodeUint32(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the integer type within the uint32 range. |
AsnBerEncodeInt64 |
void AsnBerEncodeInt64(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the integer type within the int64 range. |
AsnBerEncodeUint64 |
void AsnBerEncodeUint64(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the integer type within the uint64 range. |
AsnBerEncodeEnum |
void AsnBerEncodeEnum(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the enumerated type. |
AsnBerEncodeNull |
void AsnBerEncodeNull(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the null type. |
AsnBerEncodeReal |
void AsnBerEncodeReal(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the real type. |
AsnBerEncodeBitString |
void AsnBerEncodeBitString(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the bit string type. |
AsnBerEncodeOctString |
void AsnBerEncodeOctString(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the octet string type. |
AsnBerEncodeCharString |
void AsnBerEncodeCharString(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the string type, including PrintableString, IA5String, VisibleString, GeneralString, and UTF8String. |
AsnBerEncodeSequence |
void AsnBerEncodeSequence(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the sequence type. |
AsnBerEncodeList |
void AsnBerEncodeList(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the sequence-of type. |
AsnBerEncodeChoice |
void AsnBerEncodeChoice(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Encodes data of the choice type. |
AsnBerEncodeObjectIdentifier |
void AsnBerEncodeObjectIdentifier(const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the object identifier type. |
BER Decoding Interfaces
Interface |
Definition |
Description |
|---|---|---|
AsnBerDecodeBool |
void AsnBerDecodeBool(const AsnDesc * desc, void* stru, AsnCtx* ctx); |
Decodes data of the bool type. |
AsnBerDecodeInt32 |
void AsnBerDecodeInt32(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the integer type within the int32 range. |
AsnBerDecodeUint32 |
void AsnBerDecodeUint32(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the integer type within the uint32 range. |
AsnBerDecodeInt64 |
void AsnBerDecodeInt64(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the integer type within the int64 range. |
AsnBerDecodeUint64 |
void AsnBerDecodeUint64(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the integer type within the uint64 range. |
AsnBerDecodeEnum |
void AsnBerDecodeEnum(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the enumerated type. |
AsnBerDecodeNull |
void AsnBerDecodeNull(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the null type. |
AsnBerDecodeReal |
void AsnBerDecodeReal(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the real type. |
AsnBerDecodeBitString |
void AsnBerDecodeBitString(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the bit string type. |
AsnBerDecodeOctString |
void AsnBerDecodeOctString(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the octet string type. |
AsnBerDecodeCharString |
void AsnBerDecodeCharString(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the string type, including PrintableString, IA5String, VisibleString, GeneralString, and UTF8String. |
AsnBerDecodeSequence |
void AsnBeDecodeSequence(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the sequence type. |
AsnBerDecodeList |
void AsnBerDecodeList(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the sequence-of type. |
AsnBerDecodeChoice |
void AsnBerDecodeChoice(const AsnDesc* desc, void* stru, AsnCtx* ctx); |
Decodes data of the choice type. |
AsnBerDecodeObjectIdentifier |
void AsnBerDecodeObjectIdentifier(const AsnDesc *desc, void *stru, AsnCtx *ctx); |
Decodes data of the object identifier type. |
PER Encoding Interfaces
Interface |
Definition |
Description |
|---|---|---|
AsnPerEncodeInt |
void AsnPerEncodeInt(const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes signed constrained integers. |
AsnPerEncodeUint |
void AsnPerEncodeUint (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes unsigned constrained integers. |
AsnPerEncodeIntUc |
void AsnPerEncodeIntUc (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes unconstrained integers. |
AsnPerEncodeIntSc |
void AsnPerEncodeIntSc (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes semi-constrained integers. |
AsnPerEncodeIntExt |
void AsnPerEncodeIntExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes constrained integers with the extension flag. |
AsnPerEncodeBool |
void AsnPerEncodeBool (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the bool type. |
AsnPerEncodeEnum |
void AsnPerEncodeEnum (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the enumerated type without the extension flag. |
AsnPerEncodeEnumExt |
void AsnPerEncodeEnumExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the enumerated type with the extension flag. |
AsnPerEncodeReal |
void AsnPerEncodeReal (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the real type. |
AsnPerEncodeNull |
void AsnPerEncodeNull (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the null type. |
AsnPerEncodeBitString |
void AsnPerEncodeBitString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes constrained data of the bit string type. |
AsnPerEncodeBitStringEq |
void AsnPerEncodeBitStringEq (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the bit string type in scenarios where upper and lower bounds exist and are the same. |
AsnPerEncodeOctString |
void AsnPerEncodeOctString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes constrained data of the octet string type. |
AsnPerEncodeOctStringEq |
void AsnPerEncodeOctStringEq (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the octet string type in scenarios where upper and lower bounds exist and are the same. |
AsnPerEncodeCharStrKnownMulti |
void AsnPerEncodeCharStrKnownMulti (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the character string type with known multipliers, including NumericString, PrintableString, VisibleString (ISO646String), IA5String, UTCTime, and GeneralizedTime. |
AsnPerEncodeCharStrOthers |
void AsnPerEncodeCharStrOthers (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of other character string types, including GeneralString, GraphicString, TeletexString (T61String), UTF8String, VideotexString, and CHARACTER STRING. |
AsnPerEncodeSequence |
void AsnPerEncodeSequence (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the sequence type without the extension flag. |
AsnPerEncodeSequenceExt |
void AsnPerEncodeSequenceExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the sequence type with the extension flag. |
AsnPerEncodeList |
void AsnPerEncodeList (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the sequence-of type. |
AsnPerEncodeOpenTypeChoice |
void AsnPerEncodeOpenTypeChoice(const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the OpenType choice type. |
AsnPerEncodeChoice |
void AsnPerEncodeChoice (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the choice type without the extension flag. |
AsnPerEncodeChoiceExt |
void AsnPerEncodeChoiceExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the choice type with the extension flag. |
AsnPerEncodeObjectIdentifier |
void AsnPerEncodeObjectIdentifier (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the object identifier type. |
PER Decoding Interfaces
Interface |
Definition |
Description |
|---|---|---|
AsnPerDecodeInt |
void AsnPerDecodeInt(const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes signed constrained integers. |
AsnPerDecodeUint |
void AsnPerDecodeUint (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes unsigned constrained integers. |
AsnPerDecodeIntUc |
void AsnPerDecodeIntUc (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes unconstrained integers. |
AsnPerDecodeIntSc |
void AsnPerDecodeIntSc (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes semi-constrained integers. |
AsnPerDecodeIntExt |
void AsnPerDecodeIntExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes constrained integers with the extension flag. |
AsnPerDecodeBool |
void AsnPerDecodeBool (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the bool type. |
AsnPerDecodeEnum |
void AsnPerDecodeEnum (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the enumerated type without the extension flag. |
AsnPerDecodeEnumExt |
void AsnPerDecodeEnumExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the enumerated type with the extension flag. |
AsnPerDecodeReal |
void AsnPerDecodeReal (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the real type. |
AsnPerDecodeNull |
void AsnPerDecodeNull (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the null type. |
AsnPerDecodeBitString |
void AsnPerDecodeBitString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes constrained data of the bit string type. |
AsnPerDecodeBitStringEq |
void AsnPerDecodeBitStringEq (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the bit string type in scenarios where upper and lower bounds exist and are the same. |
AsnPerDecodeOctString |
void AsnPerDecodeOctString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes constrained data of the octet string type. |
AsnPerDecodeOctStringEq |
void AsnPerDecodeOctStringEq (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the octet string type in scenarios where upper and lower bounds exist and are the same. |
AsnPerDecodeCharStrKnownMulti |
void AsnPerDecodeCharStrKnownMulti (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the character string type with known multipliers, including NumericString, PrintableString, VisibleString (ISO646String), IA5String, UTCTime, and GeneralizedTime. |
AsnPerDecodeCharStrOthers |
void AsnPerDecodeCharStrOthers (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of other character string types, including GeneralString, GraphicString, TeletexString (T61String), UTF8String, VideotexString, and CHARACTER STRING. |
AsnPerDecodeSequence |
void AsnPerDecodeSequence (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the sequence type without the extension flag. |
AsnPerDecodeSequenceExt |
void AsnPerDecodeSequenceExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the sequence type with the extension flag. |
AsnPerDecodeList |
void AsnPerDecodeList (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the sequence-of type. |
AsnPerDecodeOpenTypeChoice |
void AsnPerDecodeOpenTypeChoice(const AsnDesc *desc, void *stru, AsnCtx *ctx); |
Decodes data of the OpenType choice type. |
AsnPerDecodeChoice |
void AsnPerDecodeChoice (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the choice type without the extension flag. |
AsnPerDecodeChoiceExt |
void AsnPerDecodeChoiceExt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the choice type with the extension flag. |
AsnPerDecodeObjectIdentifier |
void AsnPerDecodeObjectIdentifier (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the object identifier type. |
XER Encoding Interfaces
Interface |
Definition |
Description |
|---|---|---|
AsnXerEncodeBool |
void AsnXerEncodeBool (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the boolean type. |
AsnXerEncodeUint |
void AsnXerEncodeUint (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the integer type (unsigned). |
AsnXerEncodeInt |
void AsnXerEncodeInt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the integer type (signed). |
AsnXerEncodeEnum |
void AsnXerEncodeEnum (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the enumerated type. |
AsnXerEncodeReal |
void AsnXerEncodeReal (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the real type. |
AsnXerEncodeBitString |
void AsnXerEncodeBitString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the bit string type. |
AsnXerEncodeOctString |
void AsnXerEncodeOctString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the octet string type. |
AsnXerEncodeCharString |
void AsnXerEncodeCharString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the character string type. |
AsnXerEncodeNull |
void AsnXerEncodeNull (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the null type. |
AsnXerEncodeSequence |
void AsnXerEncodeSequence (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the sequence type. |
AsnXerEncodeChoice |
void AsnXerEncodeChoice (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the choice type. |
AsnXerEncodeList |
void AsnXerEncodeList (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the sequence-of type. |
AsnXerEncodeObjectIdentifier |
void AsnXerEncodeObjectIdentifier (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Encodes data of the object identifier type. |
XER Decoding Interfaces
Interface |
Definition |
Description |
|---|---|---|
AsnXerDecodeBool |
void AsnXerDecodeBool (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the boolean type. |
AsnXerDecodeUint |
void AsnXerDecodeUint (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the integer type (unsigned). |
AsnXerDecodeInt |
void AsnXerDecodeInt (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the integer type (signed). |
AsnXerDecodeEnum |
void AsnXerDecodeEnum (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the enumerated type. |
AsnXerDecodeReal |
void AsnXerDecodeReal (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the real type. |
AsnXerDecodeBitString |
void AsnXerDecodeBitString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the bit string type. |
AsnXerDecodeOctString |
void AsnXerDecodeOctString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the octet string type. |
AsnXerDecodeCharString |
void AsnXerDecodeCharString (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the character string type. |
AsnXerDecodeNull |
void AsnXerDecodeNull (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the null type. |
AsnXerDecodeSequence |
void AsnXerDecodeSequence (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the sequence type. |
AsnXerDecodeChoice |
void AsnXerDecodeChoice (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the choice type. |
AsnXerDecodeList |
void AsnXerDecodeList (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the sequence-of type. |
AsnXerDecodeObjectIdentifier |
void AsnXerDecodeObjectIdentifier (const AsnDesc *desc, const void *stru, AsnCtx *ctx); |
Decodes data of the object identifier type. |