RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

Identifiers

This section outlines the error codes returned, enabling identification of specific errors.


Sections

Public Function Identifiers
 This section details the defines used for identifying the cryptographic function where an error occurred.

Error Detail Identifiers
 This section details the defines used to identify error details for errors generated in the cryptographic module.

Error Reason Identifiers
 This section details the defines used to identify error reasons for errors generated in the cryptographic module.


Defines

#define R_ERROR_FATAL_INTERNAL_ERROR
 Indicates that a fatal error has occurred in the operation performed. More...

#define R_ERROR_BAD_PARAMETER
 Indicates that the specified parameter is incorrect or contains invalid information. More...

#define R_ERROR_NONE
 Indicates that no errors were detected in the requested operation.

#define R_ERROR_FAILED
 Indicates that the requested operation failed.

#define R_ERROR_IO
 Indicates that the requested operation detected an Input/Output error.

#define R_ERROR_PROTOCOL
 Indicates that the requested operation detected a protocol error.

#define R_ERROR_EOF
 Indicates that the requested operation detected an End-of-File (EOF) error.

#define R_ERROR_ALLOC_FAILURE
 Indicates that the requested operation failed in a memory allocation operation.

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

#define R_ERROR_EVAL_EXPIRED
 Indicates that the evaluation period of the library has expired.

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

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

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

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

#define R_ERROR_INVALID_STATE
 Indicates that the requested operation entered an invalid state.

#define R_ERROR_INIT_NOT_CALLED
 Indicates that the requested operation detected that an initialization operation has not been performed.

#define R_ERROR_SHOULD_NOT_HAVE_BEEN_CALLED
 Indicates that the requested operation should not have been called.

#define R_ERROR_METHOD_UNDEFINED
 Indicates that the requested method is not defined.

#define R_ERROR_BUFFER_TOO_SMALL
 Indicates that the requested operation detected an inadequately sized buffer.

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

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

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

#define R_ERROR_BAD_FORMAT
 Indicates that the requested operation detected that a required argument passed used a format that is not supported or incorrect.

#define R_ERROR_BAD_TYPE
 Indicates that the requested operation detected that a required argument passed used a type that is not supported or incorrect.

#define R_ERROR_BAD_DATA
 Indicates that the requested operation detected that a required argument passed contained incorrect or invalid data.

#define R_ERROR_BAD_LENGTH
 Indicates that the requested operation detected that a required argument passed contained an incorrect length value.