2025-08-19 11:40:27 +03:00
|
|
|
#ifndef RESPONSE_BUILDER_H_INCLUDED
|
|
|
|
|
#define RESPONSE_BUILDER_H_INCLUDED
|
|
|
|
|
|
2025-08-29 13:03:06 +03:00
|
|
|
#include "utils/cryptopro.h"
|
2025-08-19 11:40:27 +03:00
|
|
|
|
|
|
|
|
/* common functions */
|
|
|
|
|
|
|
|
|
|
char * build_response_from_error_code(const char *error_code);
|
|
|
|
|
|
|
|
|
|
/* functions for sign service */
|
|
|
|
|
|
|
|
|
|
char * build_response_from_signature(const char *signature, const char *state);
|
|
|
|
|
|
2025-08-29 13:03:06 +03:00
|
|
|
/* functions for verify detached message signature service */
|
|
|
|
|
|
|
|
|
|
char * build_response_from_signer_cert(const cert_info_t *cert_info);
|
|
|
|
|
|
2025-08-19 11:40:27 +03:00
|
|
|
|
|
|
|
|
#endif // RESPONSE_BUILDER_H_INCLUDED
|