APR_Util Error Values
[Error Codes]
Detailed Description
APU ERROR VALUES
APR_ENOKEY The key provided was empty or NULL
APR_ENOIV The initialisation vector provided was NULL
APR_EKEYTYPE The key type was not recognised
APR_ENOSPACE The buffer supplied was not big enough
APR_ECRYPT An error occurred while encrypting or decrypting
APR_EPADDING Padding was not supported
APR_EKEYLENGTH The key length was incorrect
APR_ENOCIPHER The cipher provided was not recognised
APR_ENODIGEST The digest provided was not recognised
APR_ENOENGINE The engine provided was not recognised
APR_EINITENGINE The engine could not be initialised
APR_EREINIT Underlying crypto has already been initialised
APR STATUS VALUES
APR_INCHILD Program is currently executing in the child
Define Documentation
#define APR_ECRYPT (APR_UTIL_START_STATUS + 5) |
#define APR_EINITENGINE (APR_UTIL_START_STATUS + 11) |
#define APR_EKEYLENGTH (APR_UTIL_START_STATUS + 7) |
#define APR_EKEYTYPE (APR_UTIL_START_STATUS + 3) |
#define APR_ENOCIPHER (APR_UTIL_START_STATUS + 8) |
#define APR_ENODIGEST (APR_UTIL_START_STATUS + 9) |
#define APR_ENOENGINE (APR_UTIL_START_STATUS + 10) |
#define APR_ENOIV (APR_UTIL_START_STATUS + 2) |
#define APR_ENOKEY (APR_UTIL_START_STATUS + 1) |
#define APR_ENOSPACE (APR_UTIL_START_STATUS + 4) |
#define APR_EPADDING (APR_UTIL_START_STATUS + 6) |
#define APR_EREINIT (APR_UTIL_START_STATUS + 12) |
#define APR_STATUS_IS_ECRYPT |
( |
s |
|
) |
((s) == APR_ECRYPT) |
An error occurred while encrypting or decrypting
#define APR_STATUS_IS_EINITENGINE |
( |
s |
|
) |
((s) == APR_EINITENGINE) |
The engine could not be initialised
#define APR_STATUS_IS_EKEYLENGTH |
( |
s |
|
) |
((s) == APR_EKEYLENGTH) |
An error occurred with the key length
#define APR_STATUS_IS_EKEYTYPE |
( |
s |
|
) |
((s) == APR_EKEYTYPE) |
The key type was not recognised
#define APR_STATUS_IS_ENOCIPHER |
( |
s |
|
) |
((s) == APR_ENOCIPHER) |
The cipher provided was not recognised
#define APR_STATUS_IS_ENODIGEST |
( |
s |
|
) |
((s) == APR_ENODIGEST) |
The digest provided was not recognised
#define APR_STATUS_IS_ENOENGINE |
( |
s |
|
) |
((s) == APR_ENOENGINE) |
The engine provided was not recognised
#define APR_STATUS_IS_ENOIV |
( |
s |
|
) |
((s) == APR_ENOIV) |
The initialisation vector was not provided
#define APR_STATUS_IS_ENOKEY |
( |
s |
|
) |
((s) == APR_ENOKEY) |
The key was empty or not provided
#define APR_STATUS_IS_ENOSPACE |
( |
s |
|
) |
((s) == APR_ENOSPACE) |
The buffer provided was not big enough
#define APR_STATUS_IS_EPADDING |
( |
s |
|
) |
((s) == APR_EPADDING) |
An error occurred while padding
#define APR_STATUS_IS_EREINIT |
( |
s |
|
) |
((s) == APR_EREINIT) |
Crypto has already been initialised