/* V5.6-3 *%COPYRIGHT_XOPEN_START% * * Copyright X/Open Company Limited 1993. All rights reserved * * Use of this software by the U.S. Government is subject to restricted * rights as described in the license. * * Portions Copyright Digital Equipment Corporation 1993,1995. All rights reserved * * Restricted Rights: Use, duplication, or disclosure by the U.S Government is * subject to restrictions as set forth in subparagraph (C) (1) (ii) of DFARS * 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt, III, as * applicable. * * Portions of this software is proprietary to and embodies the confidential * technology of Digital Equipment Corporation. Possession, use, or copying * of this software and media is authorized only pursuant to a valid written * license from Digital or an authorized sublicensor. * *%COPYRIGHT_XOPEN_END% * * * FACILITY: * * Digital X.500 Directory Service * MAILbus 400 Application Program Interface * * ABSTRACT: * * This header defines the object identifiers of directory attribute types * and object classes supported by the Strong Authentication Package. * It also defines OM classes used to represent the values of the attribute * types. * * All application programs that include this header must first * include the Object Management header and the header. * * This file supports the X/OPEN CAE specification dated November 1991 * It includes both hex and octal oid's for ansi C and non-ansi C compilers. * * The standard support is extended for Class Certificates and its constituant * classes. Thus has been proposed as a change request to the standard. * */ #ifndef XDSSAP_HEADER #define XDSSAP_HEADER /* The sap service package is: {iso(1) identified-organization(3) icd-ecma(0012) member-company(2) dec(1011) xopen(28) sap(2)} */ #if defined (__STDC__) || defined (__cplusplus) #define OMP_O_DS_STRONG_AUTHENT_PKG "\x2b\xc\x2\x87\x73\x1c\x2" #else #define OMP_O_DS_STRONG_AUTHENT_PKG "\53\14\2\207\163\34\2" #endif /* Object identifiers for object classes: All these object identifiers stem from the root {joint-iso-ccitt(2) ds(5) objectClass(6)}. */ #if defined (__STDC__) || defined (__cplusplus) #define OMP_O_DS_O_CERT_AUTHORITY "\x55\x06\x10" #define OMP_O_DS_O_STRONG_AUTHENT_USER "\x55\x06\x0F" #else #define OMP_O_DS_O_CERT_AUTHORITY "\125\6\20" #define OMP_O_DS_O_STRONG_AUTHENT_USER "\125\6\17" #endif /* Object identifiers for (directory) attribute types The common root for these is: {joint-iso-ccitt(2) ds(5) attributeType(4)}. */ #if defined (__STDC__) || defined (__cplusplus) #define OMP_O_DS_A_AUTHORITY_REVOC_LIST "\x55\x04\x26" #define OMP_O_DS_A_CA_CERT "\x55\x04\x25" #define OMP_O_DS_A_CERT_REVOC_LIST "\x55\x04\x27" #define OMP_O_DS_A_CROSS_CERT_PAIR "\x55\x04\x28" #define OMP_O_DS_A_USER_CERT "\x55\x04\x24" #else #define OMP_O_DS_A_AUTHORITY_REVOC_LIST "\125\4\46" #define OMP_O_DS_A_CA_CERT "\125\4\45" #define OMP_O_DS_A_CERT_REVOC_LIST "\125\4\47" #define OMP_O_DS_A_CROSS_CERT_PAIR "\125\4\50" #define OMP_O_DS_A_USER_CERT "\125\4\44" #endif /* The following OM class names are defined: */ #if defined (__STDC__) || defined (__cplusplus) #define OMP_O_DS_C_ALGORITHM_IDENT "\x2b\xc\x2\x87\x73\x1c\x2\x6\x35" #define OMP_O_DS_C_CERT "\x2b\xc\x2\x87\x73\x1c\x2\x6\x36" #define OMP_O_DS_C_CERT_LIST "\x2b\xc\x2\x87\x73\x1c\x2\x6\x37" #define OMP_O_DS_C_CERT_PAIR "\x2b\xc\x2\x87\x73\x1c\x2\x6\x38" #define OMP_O_DS_C_CERT_SUBLIST "\x2b\xc\x2\x87\x73\x1c\x2\x6\x39" #define OMP_O_DS_C_SIGNATURE "\x2b\xc\x2\x87\x73\x1c\x2\x6\x3a" #define OMP_O_DS_C_CERTS "\x2b\xc\x2\x87\x73\x1c\x2\x6\x3b" #define OMP_O_DS_C_CROSS_CERTS "\x2b\xc\x2\x87\x73\x1c\x2\x6\x3c" #define OMP_O_DS_C_FWD_CERT_PATH "\x2b\xc\x2\x87\x73\x1c\x2\x6\x3d" #else #define OMP_O_DS_C_ALGORITHM_IDENT "\53\14\2\207\163\34\2\6\65" #define OMP_O_DS_C_CERT "\53\14\2\207\163\34\2\6\66" #define OMP_O_DS_C_CERT_LIST "\53\14\2\207\163\34\2\6\67" #define OMP_O_DS_C_CERT_PAIR "\53\14\2\207\163\34\2\6\70" #define OMP_O_DS_C_CERT_SUBLIST "\53\14\2\207\163\34\2\6\71" #define OMP_O_DS_C_SIGNATURE "\53\14\2\207\163\34\2\6\72" #define OMP_O_DS_C_CERTS "\53\14\2\207\163\34\2\6\73" #define OMP_O_DS_C_CROSS_CERTS "\53\14\2\207\163\34\2\6\74" #define OMP_O_DS_C_FWD_CERT_PATH "\53\14\2\207\163\34\2\6\75" #endif /* The following OM attribute names are defined: */ #define DS_ALGORITHM ( (OM_type) 821 ) #define DS_FORWARD ( (OM_type) 822 ) #define DS_ISSUER ( (OM_type) 823 ) #define DS_LAST_UPDATE ( (OM_type) 824 ) #define DS_ALGORITHM_PARAMETERS ( (OM_type) 825 ) #define DS_REVERSE ( (OM_type) 826 ) #define DS_REVOC_DATE ( (OM_type) 827 ) #define DS_REVOKED_CERTS ( (OM_type) 828 ) #define DS_SERIAL_NBR ( (OM_type) 829 ) #define DS_SERIAL_NBRS ( (OM_type) 830 ) #define DS_SIGNATURE ( (OM_type) 831 ) #define DS_SIGNATURE_VALUE ( (OM_type) 832 ) #define DS_SUBJECT ( (OM_type) 833 ) #define DS_SUBJECT_ALGORITHM ( (OM_type) 834 ) #define DS_SUBJECT_PUBLIC_KEY ( (OM_type) 835 ) #define DS_VALIDITY_NOT_AFTER ( (OM_type) 836 ) #define DS_VALIDITY_NOT_BEFORE ( (OM_type) 837 ) #define DS_VERSION ( (OM_type) 838 ) #define DS_CERT ( (OM_type) 839 ) #define DS_CERT_PATH ( (OM_type) 840 ) #define DS_CROSS_CERTS ( (OM_type) 841 ) /* These enumeration tags and enumeration constants are defined for use as values of the corresponding OM attributes: */ #define DS_V1988 ( (OM_enumeration) 1 ) /* These integer constants represent upper bounds, as defined in the specification, on string lengths and number of repeated OM attribute values */ #define DS_VL_LAST_UPDATE ( (OM_value_length) 17 ) #define DS_VL_REVOC_DATE ( (OM_value_length) 17 ) #define DS_VL_VALIDITY_NOT_AFTER ( (OM_value_length) 17 ) #define DS_VL_VALIDITY_NOT_BEFORE ( (OM_value_length) 17 ) #define DS_VN_REVOC_DATE ( (OM_value_number) 2 ) #endif /* End of xdssap.h */