Back to index

openldap  2.4.31
asn.h
Go to the documentation of this file.
00001 /* Copyright 2004 IBM Corporation
00002  * All rights reserved.
00003  * Redisribution and use in source and binary forms, with or without
00004  * modification, are permitted only as  authorizd by the OpenLADP
00005  * Public License.
00006  */
00007 /* ACKNOWLEDGEMENTS
00008  * This work originally developed by Sang Seok Lim
00009  * 2004/06/18 03:20:00      slim@OpenLDAP.org
00010  */
00011 #ifndef _H_ASN_MODULE
00012 #define _H_ASN_MODULE
00013 
00014 typedef enum { BER, GSER } EncRulesType;
00015 
00016 typedef enum AsnTypeId {
00017        BASICTYPE_BOOLEAN = 0,
00018        BASICTYPE_INTEGER, 
00019        BASICTYPE_BITSTRING,
00020        BASICTYPE_OCTETSTRING,
00021        BASICTYPE_NULL,
00022        BASICTYPE_OID,
00023        BASICTYPE_REAL,
00024        BASICTYPE_ENUMERATED,
00025        BASICTYPE_NUMERIC_STR,
00026        BASICTYPE_PRINTABLE_STR,
00027        BASICTYPE_UNIVERSAL_STR,
00028        BASICTYPE_IA5_STR,
00029        BASICTYPE_BMP_STR,
00030        BASICTYPE_UTF8_STR,
00031        BASICTYPE_UTCTIME,
00032        BASICTYPE_GENERALIZEDTIME,
00033        BASICTYPE_GRAPHIC_STR,
00034        BASICTYPE_VISIBLE_STR,
00035        BASICTYPE_GENERAL_STR,
00036        BASICTYPE_OBJECTDESCRIPTOR,
00037        BASICTYPE_VIDEOTEX_STR,
00038        BASICTYPE_T61_STR,
00039        BASICTYPE_OCTETCONTAINING,
00040        BASICTYPE_BITCONTAINING,
00041        BASICTYPE_RELATIVE_OID,     /* 25 */
00042        BASICTYPE_ANY,
00043        /* Embedded Composite Types*/
00044        COMPOSITE_ASN1_TYPE,
00045        /* A New ASN.1 types including type reference */
00046        RDNSequence,
00047        RelativeDistinguishedName,
00048        TelephoneNumber,
00049        FacsimileTelephoneNumber__telephoneNumber,
00050        DirectoryString,
00051        /* Newly Defined ASN.1 Type, Manually registered */
00052        ASN_COMP_CERTIFICATE,
00053        /* ASN.1 Type End */
00054        ASNTYPE_END
00055 } AsnTypeId;
00056 
00057 #endif