1998-12-21 10:52:47 +00:00
|
|
|
/* Error codes for the PKCS7 functions. */
|
|
|
|
|
|
|
|
/* Function codes. */
|
1998-12-21 10:56:39 +00:00
|
|
|
#define PKCS7_F_PKCS7_ADD_CERTIFICATE 100
|
|
|
|
#define PKCS7_F_PKCS7_ADD_CRL 101
|
|
|
|
#define PKCS7_F_PKCS7_ADD_RECIPIENT_INFO 102
|
|
|
|
#define PKCS7_F_PKCS7_ADD_SIGNER 103
|
|
|
|
#define PKCS7_F_PKCS7_CTRL 104
|
|
|
|
#define PKCS7_F_PKCS7_DATAINIT 105
|
|
|
|
#define PKCS7_F_PKCS7_DATASIGN 106
|
|
|
|
#define PKCS7_F_PKCS7_DATAVERIFY 107
|
|
|
|
#define PKCS7_F_PKCS7_SET_CIPHER 108
|
|
|
|
#define PKCS7_F_PKCS7_SET_CONTENT 109
|
|
|
|
#define PKCS7_F_PKCS7_SET_TYPE 110
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
/* 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
|
1998-12-21 10:56:39 +00:00
|
|
|
#define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 107
|
|
|
|
#define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 108
|
|
|
|
#define PKCS7_R_WRONG_CONTENT_TYPE 109
|