RSA Security logo

RSA BSAFE Cert-C
API Reference

errormap.h File Reference

This file provides a routine for mapping Crypto-C error codes and ASN.1 utility error codes to Cert-C error codes.

It is primarily intended for use by providers. The following table shows the current mapping.

Crypto-C Error Code Cert-C Error code
BE_ALLOC E_ALLOC
BE_CANCEL E_CANCEL
BE_DATA E_DATA
BE_INPUT_DATA E_INPUT_DATA
BE_INPUT_LEN E_INPUT_LEN
BE_OUTPUT_LEN E_OUTPUT_LEN
BE_OVER_32K E_OVER_32K
ASNE_InputLen E_INPUT_LEN
ASNE_InputData E_INPUT_DATA
ASNE_OutputLen E_OUTPUT_LEN
ASNE_Data
ASNE_MissingData
ASNE_UnexpectedData
ASNE_MismatchedData
ASNE_PartialDataNotPermitted
ASNE_MissingField
E_DATA
Any Cert-C error code Returned without alteration
Any other error code Returned without alteration

Go to the source code of this file.

Functions

int C_ConvertBSAFE2Error (int type)
 Maps a selection of Crypto-C error codes and ASN.1 utility error codes to Cert-C error codes. More...


Function Documentation

int C_ConvertBSAFE2Error int    type ;
 

Maps a selection of Crypto-C error codes and ASN.1 utility error codes to Cert-C error codes.

Parameters:
type A Crypto-C error code.
Returns:
A Cert-C error code. For more information, see Cert-C error codes.



RSA BSAFE® Cert-C 2.7 API Reference