1 /* asn.h -- Component Filter Match Routines */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 2003-2004 The OpenLDAP Foundation.
6 * Portions Copyright 2004 by IBM Corporation.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted only as authorized by the OpenLDAP
13 * A copy of this license is available in the file LICENSE in the
14 * top-level directory of the distribution or, alternatively, at
15 * <http://www.OpenLDAP.org/license.html>.
18 #ifdef LDAP_COMP_MATCH
22 #define NUM_ENCODING_TYPE 2
24 typedef enum { ASN_BASIC, ASN_COMPOSITE } AsnType;
26 typedef enum AsnTypeId {
27 BASICTYPE_BOOLEAN, /* 1 */
30 BASICTYPE_OCTETSTRING,
35 BASICTYPE_NUMERIC_STR,
36 BASICTYPE_PRINTABLE_STR,
37 BASICTYPE_UNIVERSAL_STR,
42 BASICTYPE_GENERALIZEDTIME,
43 BASICTYPE_GRAPHIC_STR,
44 BASICTYPE_VISIBLE_STR,
45 BASICTYPE_GENERAL_STR,
46 BASICTYPE_OBJECTDESCRIPTOR,
47 BASICTYPE_VIDEOTEX_STR,
49 BASICTYPE_OCTETCONTAINING,
50 BASICTYPE_BITCONTAINING,
51 BASICTYPE_RELATIVE_OID, /* 25 */
52 /* Embedded Composite Types*/
54 /* A New ASN.1 types including type reference */
56 RelativeDistinguishedName,
58 FacsimileTelephoneNumber_telephoneNumber,
60 /* Newly Defined ASN.1 Type, Manually registered */