| RSA BSAFE Cert-C |
Certificate Components for C |
| Crypto-C 6.2.1 Developer's Guide | ||
| Search |
00001 /* $Id: certc.h,v 1.14 2005/01/11 04:43:44 jmckee Exp $ */
00002 /*
00003 * Copyright (c) RSA Security Inc., 1999-2003. All rights reserved.
00004 * This work contains proprietary, confidential, and trade secret
00005 * information of RSA Security Inc. Use, disclosure or reproduction
00006 * without the express written authorization of RSA Security Inc. is
00007 * prohibited.
00008 */
00009
00010 #ifndef HEADER_BSAFE_CERTC_CERTC
00011 #define HEADER_BSAFE_CERTC_CERTC 1
00012
00013 #include "stdlib.h"
00014
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025
00026 /* the current version number of the library */
00027 #define CERTC_VERSION_NUMBER 0x2720
00028
00029 #define RSA_STD_MEM_FUNCS RSA_ENABLED
00030 #define RSA_STD_ALLOC_FUNCS RSA_ENABLED
00031 #define RSA_STD_STRING_FUNCS RSA_ENABLED
00032 #define RSA_STD_TIME_FUNCS RSA_ENABLED
00033
00034 #include "certplat.h"
00035 #ifdef _MSC_VER
00036 # pragma warning (disable: 171 193 810 991)
00037 #endif
00038 #include "aglobal.h"
00039 #ifdef _MSC_VER
00040 # pragma warning (default: 171 193 810 991)
00041 #endif
00042
00043 #include "certlist.h"
00044 #include "basetype.h"
00045 #include "stdlibrf.h"
00046 #include "context.h"
00047 #include "certsurr.h"
00048 #include "certlog.h"
00049 #include "certio.h"
00050 #include "certdb.h"
00051 #include "certerr.h"
00052
00053 #include "certext.h"
00054 #include "certattr.h"
00055 #include "certapi.h"
00056 #include "crlapi.h"
00057 #include "pkcs10.h"
00058 #include "certname.h"
00059 #include "certpath.h"
00060 #include "cms.h"
00061 #include "cmsobj.h"
00062 #include "pkcs12.h"
00063 #include "asn1pub.h"
00064 #include "certcryp.h"
00065 #include "cmpstr.h"
00066 #include "base64.h"
00067 #include "pkimsg.h"
00068 #include "pkicfmsg.h"
00069 #include "pkicrmsg.h"
00070 #include "pkictmsg.h"
00071 #include "pkiermsg.h"
00072 #include "pkikumsg.h"
00073 #include "pkirvmsg.h"
00074
00075
00076 /*
00077 * @defgroup CERTC_INFO Cert-C Information Defines
00078 *
00079 * This section defines the identifiers used to retrieve information about
00080 * the Cert-C library.
00081 *
00082 * See CERTC_library_info_type_from_string(), CERTC_library_info(),
00083 * CERTC_library_info_type_to_string(), and
00084 * CERTC_library_info_type_from_string().
00085 * @ingroup CERTC_GROUP
00086 *
00087 * @{
00088 */
00089
00093 #define CERTC_INFO_UNKNOWN 0
00094
00101 #define CERTC_INFO_VERSION 1
00102
00105 #define CERTC_INFO_BUILD_DATE 2
00106
00109 #define CERTC_INFO_BUILD_FLAGS 3
00110
00113 #define CERTC_INFO_BUILD_PLATFORM 4
00114
00117 #define CERTC_INFO_BUILD_ID 5
00118
00121 #define CERTC_INFO_BUILD_TAG 6
00122
00125 #define CERTC_INFO_BUILD_EVAL 7
00126 /*
00127 * @}
00128 */
00129
00130
00131 int CERTC_library_version(void);
00132 char *CERTC_library_info(int type);
00133 char *CERTC_library_info_type_to_string(int type);
00134 int CERTC_library_info_type_from_string(char *str);
00135
00136
00137 #ifdef __cplusplus
00138 }
00139 #endif
00140
00141 #endif /* HEADER_BSAFE_CERTC_CERTC */