blob: 6f53dc8c5f5dec75557bf4d44be457f1ce57c643 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
2 * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * 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;
Lev Walkinf15320b2004-06-03 03:38:44 +000020
21asn_constr_check_f IA5String_constraint;
22
Bi-Ruei, Chiu1fa31c92016-05-16 13:50:09 +080023#define IA5String_free OCTET_STRING_free
24#define IA5String_print OCTET_STRING_print_utf8
25#define IA5String_decode_ber OCTET_STRING_decode_ber
26#define IA5String_encode_der OCTET_STRING_encode_der
27#define IA5String_decode_xer OCTET_STRING_decode_xer_utf8
28#define IA5String_encode_xer OCTET_STRING_encode_xer_utf8
29#define IA5String_decode_uper OCTET_STRING_decode_uper
30#define IA5String_encode_uper OCTET_STRING_encode_uper
31
Lev Walkin21b41ac2005-07-24 09:03:44 +000032#ifdef __cplusplus
33}
34#endif
35
Lev Walkinf15320b2004-06-03 03:38:44 +000036#endif /* _IA5String_H_ */