Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 1 | /*- |
Lev Walkin | 20696a4 | 2017-10-17 21:27:33 -0700 | [diff] [blame] | 2 | * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved. |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 3 | * Redistribution and modifications are permitted subject to BSD license. |
| 4 | */ |
| 5 | #ifndef _IA5String_H_ |
| 6 | #define _IA5String_H_ |
| 7 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 8 | #include <OCTET_STRING.h> |
| 9 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
Lev Walkin | 11c3e17 | 2004-09-24 21:00:50 +0000 | [diff] [blame] | 14 | typedef OCTET_STRING_t IA5String_t; /* Implemented via OCTET STRING */ |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 15 | |
| 16 | /* |
| 17 | * IA5String ASN.1 type definition. |
| 18 | */ |
Lev Walkin | 5e03376 | 2004-09-29 13:26:15 +0000 | [diff] [blame] | 19 | extern asn_TYPE_descriptor_t asn_DEF_IA5String; |
Bi-Ruei, Chiu | 1f87ac0 | 2017-08-20 01:25:45 +0800 | [diff] [blame] | 20 | extern asn_TYPE_operation_t asn_OP_IA5String; |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 21 | |
| 22 | asn_constr_check_f IA5String_constraint; |
| 23 | |
Lev Walkin | cd2f48e | 2017-08-10 02:14:59 -0700 | [diff] [blame] | 24 | #define IA5String_free OCTET_STRING_free |
| 25 | #define IA5String_print OCTET_STRING_print_utf8 |
| 26 | #define IA5String_compare OCTET_STRING_compare |
| 27 | #define IA5String_decode_ber OCTET_STRING_decode_ber |
| 28 | #define IA5String_encode_der OCTET_STRING_encode_der |
| 29 | #define IA5String_decode_xer OCTET_STRING_decode_xer_utf8 |
| 30 | #define IA5String_encode_xer OCTET_STRING_encode_xer_utf8 |
| 31 | #define IA5String_decode_uper OCTET_STRING_decode_uper |
| 32 | #define IA5String_encode_uper OCTET_STRING_encode_uper |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame] | 33 | |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 34 | #ifdef __cplusplus |
| 35 | } |
| 36 | #endif |
| 37 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 38 | #endif /* _IA5String_H_ */ |