| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
00001 /* $Id: r_cert_req_r.h,v 1.7 2005/04/05 02:23:17 jmckee Exp $ */
00002 /*
00003 * Copyright (C) 1998-2003 RSA Security Inc. All rights reserved.
00004 *
00005 * This work contains proprietary information of RSA Security.
00006 * Distribution is limited to authorized licensees of RSA
00007 * Security. Any unauthorized reproduction, distribution or
00008 * modification of this work is strictly prohibited.
00009 */
00010
00016 #ifndef HEADER_COMMON_CERT_R_CERT_REQ_R_H
00017 #define HEADER_COMMON_CERT_R_CERT_REQ_R_H
00018
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022
00023 #include "r_cert_req.h"
00024
00025 #ifndef Rm_CERT_DIRECT
00026 /*
00027 * @defgroup CERT_REQ_METHOD Certificate Request Method Table Functions
00028 * This section details the functions that facilitate certificate request
00029 * method tables.
00030 * @ingroup CERT_ALL_FUNCS
00031 * @{
00032 */
00033 R_CERT_METHOD * R_CDECL R_CERT_REQ_get_pkcs10_method(void *imp_data);
00034 R_CERT_METHOD * R_CDECL R_CERT_REQ_get_pkcs10_small_method(void *imp_data);
00035
00036 #else /* !Rm_CERT_DIRECT */
00037
00038 #define R_CERT_REQ_get_pkcs10_method NULL
00039 #define R_CERT_REQ_get_pkcs10_small_method NULL
00040
00041 #endif /* !Rm_CERT_DIRECT */
00042
00043 /*
00044 * @}
00045 */
00046
00047 /*
00048 * @defgroup CERT_REQ_LIB Certificate Request Library/Resource List Functions
00049 *
00050 * This section details the functions that facilitate certificate requests
00051 * and the resource list.
00052 * @ingroup CERT_ALL_FUNCS
00053 * @{
00054 */
00055
00056 R_CERT_REQ_PRINT_FUNC_T * R_CDECL R_CERT_REQ_get_print_func(void *imp_data);
00057
00058 /*
00059 * @}
00060 */
00061
00076 #define R_CERT_REQ_RES_PKCS10 \
00077 { R_RES_MOD_ID_CERT_REQ, R_RES_IMPL_ID_DEF, R_CERT_REQ_TYPE_PKCS10, \
00078 R_RES_FLAG_DEF, NULL, NULL, \
00079 (void *(*)(void *))R_CERT_REQ_get_pkcs10_method, NULL }
00080
00088 #define R_CERT_REQ_RES_PKCS10_CREATE \
00089 { R_RES_MOD_ID_CERT_REQ, R_RES_IMPL_ID_DEF, R_CERT_REQ_TYPE_PKCS10, \
00090 R_RES_FLAG_DEF, NULL, NULL, \
00091 (void *(*)(void *))R_CERT_REQ_get_pkcs10_small_method, NULL }
00092
00113 #define R_CERT_REQ_RES_CUSTOM(start_fn, fin_fn, meth_fn, data_fn, type) \
00114 { R_RES_MOD_ID_CERT_REQ, R_RES_IMPL_ID_DEF, type, R_RES_FLAG_DEF, \
00115 (int (*)(R_RES_LIST *, R_RES_ITEM *, void **))(start_fn), \
00116 (int (*)(R_RES_LIST *, R_RES_ITEM *, void **))(fin_fn), \
00117 (void *(*)(void *))meth_fn, (void *(*)(void *))data_fn }
00118
00123 #define R_CERT_REQ_RES_PRINT \
00124 { R_RES_MOD_ID_CERT_REQ, R_RES_IMPL_ID_PRINT_FUNC, \
00125 R_RES_SUB_ID_DEF, R_RES_FLAG_DEF, NULL, NULL, NULL, \
00126 (void *(*)(void *))R_CERT_REQ_get_print_func }
00127
00132 #ifdef __cplusplus
00133 }
00134 #endif
00135
00136 #endif /* HEADER_COMMON_CERT_R_CERT_REQ_R_H */
00137