RSA Security logo

RSA BSAFE Cert-C
API Reference

pkiermsg.h

Go to the documentation of this file.
00001 /*
00002 ** Copyright (c) 1999-2003, RSA Security Inc.
00003 **
00004 ** This file is used to demonstrate how to interface to an RSA
00005 ** Security licensed development product.  You have a
00006 ** royalty-free right to use, modify, reproduce and distribute this
00007 ** demonstration file (including any modified version), provided that
00008 ** you agree that RSA Security has no warranty, implied or
00009 ** otherwise, or liability for this demonstration file or any modified
00010 ** version.
00011 **
00012 */
00013 
00019 #ifndef HEADER_BSAFE_CERTC_PKIERMSG
00020 #define HEADER_BSAFE_CERTC_PKIERMSG 1
00021 
00022 #include "basetype.h"
00023 #include "bsafe.h"
00024 #include "certext.h"
00025 #include "certapi.h"
00026 #include "certalg.h"
00027 #include "pkistinf.h"
00028 #include "pkimsg.h"
00029 
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00084 typedef POINTER PKI_ERROR_MSG_OBJ; /* handle to PKI error message object */
00085 
00098 int C_CreatePKIErrorMsgObject(
00099   CERTC_CTX          ctx,                /* (in) Cert-C context */
00100   PKI_ERROR_MSG_OBJ *pPkiErrMsgObj);     /* (mod) pki error msg Object */
00101 
00110 void C_DestroyPKIErrorMsgObject(
00111   PKI_ERROR_MSG_OBJ *pPkiErrMsgObj);     /* (mod) pki error msg Object */
00112 
00126 int C_SetPKIFailInfoAuxString(
00127   PKI_ERROR_MSG_OBJ pkiErrMsgObj,       /* (mod) pki error msg object*/
00128   LIST_OBJ          failInfoAuxString); /* (in) detailed, SP-specific failure string */
00129 
00143 int C_GetPKIFailInfoAuxString(
00144   PKI_ERROR_MSG_OBJ  pkiErrMsgObj,        /* (in) pki error msg object */
00145   LIST_OBJ          *pFailInfoAuxString); /* (out) detailed, SP-specific failure string
00146                                                    UTF-8 strings */
00147 #ifdef __cplusplus
00148 }
00149 #endif
00150 
00151 #endif /* HEADER_BSAFE_CERTC_PKIERMSG */



RSA BSAFE® Cert-C 2.7 API Reference