ervu-sign-module/src/utils/response_builder.h

19 lines
479 B
C

#ifndef RESPONSE_BUILDER_H_INCLUDED
#define RESPONSE_BUILDER_H_INCLUDED
#include "utils/cryptopro.h"
/* 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);
/* functions for verify detached message signature service */
char * build_response_from_signer_cert(const cert_info_t *cert_info);
#endif // RESPONSE_BUILDER_H_INCLUDED