eid-viewer
eid-viewer library
verify_cert.h
Go to the documentation of this file.
1 #ifndef EID_VWR_VERIFY_H
2 #define EID_VWR_VERIFY_H
3 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #include <eid-viewer/oslayer.h>
21 
49 DllExport enum eid_vwr_result eid_vwr_verify_cert(const void* certificate, size_t certlen, const void* ca, size_t calen, const void*(*perform_ocsp_request)(char*, void*, long, long*, void**), void(*free_ocsp_request)(void*));
62 DllExport enum eid_vwr_result eid_vwr_verify_rrncert(const void* certificate, size_t certlen);
63 
77 DllExport char* eid_vwr_x509_get_details(const void* certificate, size_t certlen);
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
85 #endif
DllExport enum eid_vwr_result eid_vwr_verify_cert(const void *certificate, size_t certlen, const void *ca, size_t calen, const void *(*perform_ocsp_request)(char *, void *, long, long *, void **), void(*free_ocsp_request)(void *))
Verify the validity of a certificate.
Definition: verify.c:40
DllExport enum eid_vwr_result eid_vwr_verify_rrncert(const void *certificate, size_t certlen)
Verify the validity of the RRN certificate.
Definition: verify.c:206
eid_vwr_result
Definition: oslayer.h:53
DllExport char * eid_vwr_x509_get_details(const void *certificate, size_t certlen)
Produce a human-readable version of the certificate.
Definition: verify.c:250
contains the functions, enums and structures that need to be known by the ui