14 #define SCEP_NONCE_SIZE 16
18 #define SCEP_PFLAG_NONE 0x00
19 #define SCEP_PFLAG_PNPPKI 0x01
24 #define MESSAGETYPE_CERTREP "3"
25 #define MESSAGETYPE_PKCSREQ "19"
27 #define MESSAGESTATUS_SUCCESS "0"
28 #define MESSAGESTATUS_FAILURE "2"
29 #define MESSAGESTATUS_PENDING "3"
31 #define MESSAGEFAILINFO_BADALG "0"
32 #define MESSAGEFAILINFO_BADMESSAGECHECK "1"
33 #define MESSAGEFAILINFO_BADREQUEST "2"
34 #define MESSAGEFAILINFO_BADTIME "3"
35 #define MESSAGEFAILINFO_BADCERTID "4"
37 #define MESSAGESTATUS_SIZE 1
38 #define MESSAGEFAILINFO_SIZE 1
42 #define MESSAGETYPE_CERTREP_VALUE 3
43 #define MESSAGETYPE_PKCSREQ_VALUE 19
45 #define MESSAGESTATUS_SUCCESS_VALUE 0
46 #define MESSAGESTATUS_FAILURE_VALUE 2
47 #define MESSAGESTATUS_PENDING_VALUE 3
51 #define SCEP_CONTENT_TYPE "application/x-pki-message"
52 #define SCEP_CONTENT_TYPE_LEN 25
53 #define SCEP_CONTENT_TYPE_GETCACERT "application/x-x509-ca-cert"
54 #define SCEP_CONTENT_TYPE_GETCACERT_LEN 26
55 #define SCEP_CONTENT_TYPE_GETCACERTCHAIN "application/x-x509-ca-ra-cert-chain"
56 #define SCEP_CONTENT_TYPE_GETCACERTCHAIN_LEN 35