Go to the documentation of this file.
15 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
19 case 0x30:
case 0x31:
case 0x32:
case 0x33:
case 0x34:
20 case 0x35:
case 0x36:
case 0x37:
case 0x38:
case 0x39:
21 return value - (0x30 - 1);
28 return code + (0x30 - 1);
36 { APC_CONSTRAINED, 4, 4, 0x20, 0x39 },
37 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 },
44 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
51 #if !defined(ASN_DISABLE_BER_SUPPORT)
58 #if !defined(ASN_DISABLE_XER_SUPPORT)
65 #if !defined(ASN_DISABLE_JER_SUPPORT)
72 #if !defined(ASN_DISABLE_OER_SUPPORT)
79 #if !defined(ASN_DISABLE_UPER_SUPPORT)
86 #if !defined(ASN_DISABLE_APER_SUPPORT)
93 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
111 #if !defined(ASN_DISABLE_OER_SUPPORT)
114 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
117 #if !defined(ASN_DISABLE_JER_SUPPORT)
132 uint8_t *buf = st->
buf;
133 uint8_t *end = buf + st->
size;
139 for(; buf < end; buf++) {
142 case 0x30:
case 0x31:
case 0x32:
case 0x33:
case 0x34:
143 case 0x35:
case 0x36:
case 0x37:
case 0x38:
case 0x39:
147 "%s: value byte %ld (%d) "
148 "not in NumericString alphabet (%s:%d)",
150 (
long)((buf - st->
buf) + 1),
157 "%s: value not given (%s:%d)",
158 td->
name, __FILE__, __LINE__);
asn_struct_free_f OCTET_STRING_free
void() asn_app_constraint_failed_f(void *application_specific_key, const struct asn_TYPE_descriptor_s *type_descriptor_which_failed, const void *structure_which_failed_ptr, const char *error_message_format,...) CC_PRINTFLIKE(4
static asn_per_constraints_t asn_DEF_NumericString_per_constraints
der_type_encoder_f OCTET_STRING_encode_der
@ ASN_TAG_CLASS_UNIVERSAL
oer_type_decoder_f OCTET_STRING_decode_oer
per_type_encoder_f OCTET_STRING_encode_aper
static int asn_DEF_NumericString_c2v(unsigned int code)
per_type_decoder_f OCTET_STRING_decode_aper
int NumericString_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key)
xer_type_encoder_f OCTET_STRING_encode_xer_utf8
asn_TYPE_operation_t asn_OP_NumericString
asn_struct_print_f OCTET_STRING_print_utf8
asn_random_fill_f OCTET_STRING_random_fill
oer_type_encoder_f OCTET_STRING_encode_oer
ber_type_decoder_f OCTET_STRING_decode_ber
asn_TYPE_descriptor_t asn_DEF_NumericString
per_type_decoder_f OCTET_STRING_decode_uper
static int asn_DEF_NumericString_v2c(unsigned int value)
asn_struct_copy_f OCTET_STRING_copy
xer_type_decoder_f OCTET_STRING_decode_xer_utf8
jer_type_decoder_f OCTET_STRING_decode_jer_utf8
static const ber_tlv_tag_t asn_DEF_NumericString_tags[]
per_type_encoder_f OCTET_STRING_encode_uper
jer_type_encoder_f OCTET_STRING_encode_jer_utf8
asn_struct_compare_f OCTET_STRING_compare
etsi_its_cpm_ts_coding
Author(s): Jean-Pierre Busch
, Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:22:38