]> git.sur5r.net Git - openldap/blob - contrib/slapd-modules/comp_match/asn.h
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / contrib / slapd-modules / comp_match / asn.h
1 /* Copyright 2004 IBM Corporation
2  * All rights reserved.
3  * Redisribution and use in source and binary forms, with or without
4  * modification, are permitted only as  authorizd by the OpenLADP
5  * Public License.
6  */
7 /* ACKNOWLEDGEMENTS
8  * This work originally developed by Sang Seok Lim
9  * 2004/06/18   03:20:00        slim@OpenLDAP.org
10  */
11 #ifndef _H_ASN_MODULE
12 #define _H_ASN_MODULE
13
14 typedef enum { BER, GSER } EncRulesType;
15
16 typedef enum AsnTypeId {
17         BASICTYPE_BOOLEAN = 0,
18         BASICTYPE_INTEGER, 
19         BASICTYPE_BITSTRING,
20         BASICTYPE_OCTETSTRING,
21         BASICTYPE_NULL,
22         BASICTYPE_OID,
23         BASICTYPE_REAL,
24         BASICTYPE_ENUMERATED,
25         BASICTYPE_NUMERIC_STR,
26         BASICTYPE_PRINTABLE_STR,
27         BASICTYPE_UNIVERSAL_STR,
28         BASICTYPE_IA5_STR,
29         BASICTYPE_BMP_STR,
30         BASICTYPE_UTF8_STR,
31         BASICTYPE_UTCTIME,
32         BASICTYPE_GENERALIZEDTIME,
33         BASICTYPE_GRAPHIC_STR,
34         BASICTYPE_VISIBLE_STR,
35         BASICTYPE_GENERAL_STR,
36         BASICTYPE_OBJECTDESCRIPTOR,
37         BASICTYPE_VIDEOTEX_STR,
38         BASICTYPE_T61_STR,
39         BASICTYPE_OCTETCONTAINING,
40         BASICTYPE_BITCONTAINING,
41         BASICTYPE_RELATIVE_OID, /* 25 */
42         BASICTYPE_ANY,
43         /* Embedded Composite Types*/
44         COMPOSITE_ASN1_TYPE,
45         /* A New ASN.1 types including type reference */
46         RDNSequence,
47         RelativeDistinguishedName,
48         TelephoneNumber,
49         FacsimileTelephoneNumber__telephoneNumber,
50         DirectoryString,
51         /* Newly Defined ASN.1 Type, Manually registered */
52         ASN_COMP_CERTIFICATE,
53         /* ASN.1 Type End */
54         ASNTYPE_END
55 } AsnTypeId;
56
57 #endif