12 #define LIBMSV_ERROR_SUCCESS 0
17 #define LIBMSV_ERROR_INVALID 1
22 #define LIBMSV_ERROR_NOENVVAR 2
27 #define LIBMSV_ERROR_CURLINIT_FAILED 3
35 #define LIBMSV_ERROR_CURLCODE 4
40 #define LIBMSV_ERROR_INCOMPATIBLE_AGENT 5
45 #define LIBMSV_ERROR_BADARG 6
51 #define LIBMSV_ERROR_UNEXPECTED_RESPONSE 7
const char * pkctype
Definition: msv.h:69
char * message
Definition: msv.h:80
const char * msv_strerror(msv_ctxt_t ctx, int error_code)
Return string describing libmsv error code.
size_t sz
Definition: msv.h:81
a response from the MSVA
Definition: msv.h:77
int valid
Definition: msv.h:79
void msv_response_destroy(struct msv_response *response)
Destroy an MSV response.
const char * context
Definition: msv.h:66
const char * pkcdata
Definition: msv.h:70
struct msv_ctxt * msv_ctxt_t
opaque MSVA context
Definition: msv.h:58
void msv_ctxt_destroy(msv_ctxt_t ctx)
Destroy an MSV context.
int msv_query_agent(msv_ctxt_t ctx, struct msv_query q, struct msv_response **response_ptr)
Query validation agent for certificate validity.
const char * peertype
Definition: msv.h:67
int msv_check_msva(msv_ctxt_t ctx)
Check suitability of Monkeysphere Validation Agent.
const char * peername
Definition: msv.h:68
msv_ctxt_t msv_ctxt_init(const char *url)
Return an MSV context.
a query to the MSVA
Definition: msv.h:64