22 lines
778 B
Plaintext
22 lines
778 B
Plaintext
/* Error codes for the PKCS7 functions. */
|
|
|
|
/* Function codes. */
|
|
#define PKCS7_F_PKCS7_ADD_SIGNER 100
|
|
#define PKCS7_F_PKCS7_CTRL 101
|
|
#define PKCS7_F_PKCS7_DATAFINAL 102
|
|
#define PKCS7_F_PKCS7_DATAINIT 103
|
|
#define PKCS7_F_PKCS7_DATAVERIFY 104
|
|
#define PKCS7_F_PKCS7_SET_CONTENT 105
|
|
#define PKCS7_F_PKCS7_SET_TYPE 106
|
|
|
|
/* Reason codes. */
|
|
#define PKCS7_R_INTERNAL_ERROR 100
|
|
#define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 101
|
|
#define PKCS7_R_SIGNATURE_FAILURE 102
|
|
#define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 103
|
|
#define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 104
|
|
#define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 105
|
|
#define PKCS7_R_UNKNOWN_DIGEST_TYPE 106
|
|
#define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 107
|
|
#define PKCS7_R_WRONG_CONTENT_TYPE 108
|