mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
28a967584d
- only for equality matching - only components of ASN.1 types used in an X.509 certificate can be indexed (composite types except for RDN and DN are not supported yet) - how to use index [attribute name].[component reference] eq Ex) index userCertificate eq index userCertificate.toBeSigned.issuer.rdnSequence eq index userCertificate.toBeSigned.serialNumber eq index userCertificate.toBeSigned.version eq
58 lines
1.4 KiB
C
58 lines
1.4 KiB
C
/* Copyright 2004 IBM Corporation
|
|
* All rights reserved.
|
|
* Redisribution and use in source and binary forms, with or without
|
|
* modification, are permitted only as authorizd by the OpenLADP
|
|
* Public License.
|
|
*/
|
|
/* ACKNOWLEDGEMENTS
|
|
* This work originally developed by Sang Seok Lim
|
|
* 2004/06/18 03:20:00 slim@OpenLDAP.org
|
|
*/
|
|
#ifndef _H_ASN_MODULE
|
|
#define _H_ASN_MODULE
|
|
|
|
typedef enum { BER, GSER } EncRulesType;
|
|
|
|
typedef enum AsnTypeId {
|
|
BASICTYPE_BOOLEAN = 0,
|
|
BASICTYPE_INTEGER,
|
|
BASICTYPE_BITSTRING,
|
|
BASICTYPE_OCTETSTRING,
|
|
BASICTYPE_NULL,
|
|
BASICTYPE_OID,
|
|
BASICTYPE_REAL,
|
|
BASICTYPE_ENUMERATED,
|
|
BASICTYPE_NUMERIC_STR,
|
|
BASICTYPE_PRINTABLE_STR,
|
|
BASICTYPE_UNIVERSAL_STR,
|
|
BASICTYPE_IA5_STR,
|
|
BASICTYPE_BMP_STR,
|
|
BASICTYPE_UTF8_STR,
|
|
BASICTYPE_UTCTIME,
|
|
BASICTYPE_GENERALIZEDTIME,
|
|
BASICTYPE_GRAPHIC_STR,
|
|
BASICTYPE_VISIBLE_STR,
|
|
BASICTYPE_GENERAL_STR,
|
|
BASICTYPE_OBJECTDESCRIPTOR,
|
|
BASICTYPE_VIDEOTEX_STR,
|
|
BASICTYPE_T61_STR,
|
|
BASICTYPE_OCTETCONTAINING,
|
|
BASICTYPE_BITCONTAINING,
|
|
BASICTYPE_RELATIVE_OID, /* 25 */
|
|
BASICTYPE_ANY,
|
|
/* Embedded Composite Types*/
|
|
COMPOSITE_ASN1_TYPE,
|
|
/* A New ASN.1 types including type reference */
|
|
RDNSequence,
|
|
RelativeDistinguishedName,
|
|
TelephoneNumber,
|
|
FacsimileTelephoneNumber__telephoneNumber,
|
|
DirectoryString,
|
|
/* Newly Defined ASN.1 Type, Manually registered */
|
|
ASN_COMP_CERTIFICATE,
|
|
/* ASN.1 Type End */
|
|
ASNTYPE_END
|
|
} AsnTypeId;
|
|
|
|
#endif
|