blob: 5a4d5f2cc8e7093a4ff54d88a615a2b3dcc6d933 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
Lev Walkin20696a42017-10-17 21:27:33 -07002 * Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info>. All rights reserved.
Lev Walkinf15320b2004-06-03 03:38:44 +00003 * Redistribution and modifications are permitted subject to BSD license.
4 */
5#ifndef _IA5String_H_
6#define _IA5String_H_
7
Lev Walkinf15320b2004-06-03 03:38:44 +00008#include <OCTET_STRING.h>
9
Lev Walkin21b41ac2005-07-24 09:03:44 +000010#ifdef __cplusplus
11extern "C" {
12#endif
13
Lev Walkin11c3e172004-09-24 21:00:50 +000014typedef OCTET_STRING_t IA5String_t; /* Implemented via OCTET STRING */
Lev Walkinf15320b2004-06-03 03:38:44 +000015
16/*
17 * IA5String ASN.1 type definition.
18 */
Lev Walkin5e033762004-09-29 13:26:15 +000019extern asn_TYPE_descriptor_t asn_DEF_IA5String;
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080020extern asn_TYPE_operation_t asn_OP_IA5String;
Lev Walkinf15320b2004-06-03 03:38:44 +000021
22asn_constr_check_f IA5String_constraint;
23
Lev Walkincd2f48e2017-08-10 02:14:59 -070024#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, Chiu1fa31c92016-05-16 13:50:09 +080033
Lev Walkin21b41ac2005-07-24 09:03:44 +000034#ifdef __cplusplus
35}
36#endif
37
Lev Walkinf15320b2004-06-03 03:38:44 +000038#endif /* _IA5String_H_ */