RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

R_ERROR Identifiers

This section outlines the error codes returned, enabling identification of the specific error. For more information, see the Developer's Guide that accompanies this Online Reference.

Defines

#define R_ERROR_FATAL_INTERNAL_ERROR
 A fatal error has occurred in the operation performed. More...

#define R_ERROR_BAD_PARAMETER
 Parameter specified is incorrect or contains invalid information. More...

#define R_ERROR_NONE
 No errors were detected in completion of the requested operation.

#define R_ERROR_FAILED
 The requested operation failed.

#define R_ERROR_IO
 The requested operation detected an input/output error.

#define R_ERROR_PROTOCOL
 The requested operation detected a protocol error.

#define R_ERROR_EOF
 The requested operation detected an End of File (EOF) error.

#define R_ERROR_ALLOC_FAILURE
 The requested operation failed in a memory allocation operation.

#define R_ERROR_EVAL_RESTRICTION
 The requested operation is restricted in an evaluation version of the library.

#define R_ERROR_EVAL_EXPIRED
 The evaluation period of the library has expired.

#define R_ERROR_NOT_FOUND
 The requested operation detected that a pre-requirement was not found.

#define R_ERROR_NOT_AVAILABLE
 The requested operation detected that a pre-requirement was unavailable.

#define R_ERROR_NOT_IMPLEMENTED
 The requested operation is not implemented in the current instantiation of the library.

#define R_ERROR_NOT_SUPPORTED
 The requested operation is not supported in the current instantiation of the library.

#define R_ERROR_INVALID_STATE
 The requested operation entered an invalid state.

#define R_ERROR_INIT_NOT_CALLED
 The requested operation can be run as pre-initialization has not been performed.

#define R_ERROR_SHOULD_NOT_HAVE_BEEN_CALLED
 The requested operation should not have been called.

#define R_ERROR_METHOD_UNDEFINED
 The requested method is not defined.

#define R_ERROR_BUFFER_TOO_SMALL
 The requested operation detected an inadequately sized buffer.

#define R_ERROR_NULL_ARG
 The requested operation detected that a required argument was passed as NULL.

#define R_ERROR_BAD_VALUE
 The requested operation detected a required argument that was passed contained a bad or incorrect value.

#define R_ERROR_BAD_RANGE
 The requested operation detected a required argument that was passed was out of the allowed range.

#define R_ERROR_BAD_FORMAT
 The requested operation detected a required argument that was passed in used a format that is not supported or incorrect.

#define R_ERROR_BAD_TYPE
 The requested operation detected a required argument that was passed in used a type that is not supported or incorrect.

#define R_ERROR_BAD_DATA
 The requested operation detected a required argument was passed contained incorrect or invalid data.

#define R_ERROR_BAD_LENGTH
 The requested operation detected a required argument was passed contained an incorrect length value.

#define R_ERROR_RCOM_LIBRARY_NOT_SUPPORTED
 The library instantiation requested is not supported.

#define R_ERROR_DENIED
 The requestion operation was denied.


Define Documentation

#define R_ERROR_BAD_PARAMETER
 

Parameter specified is incorrect or contains invalid information.

Note:
The BAD_PARAMETER is a flag that is set with the following error codes:
  • R_ERROR_NULL_ARG.
  • R_ERROR_BUFFER_TOO_SMALL.
  • R_ERROR_BAD_VALUE.
  • R_ERROR_BAD_RANGE.