Golioth Firmware SDK
Loading...
Searching...
No Matches
pki.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Golioth, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifdef __cplusplus
8extern "C"
9{
10#endif
11
12#pragma once
13
14#include <stdint.h>
16#include <golioth/client.h>
17#include <golioth/config.h>
18
23
43enum golioth_status golioth_pki_issue_cert(struct golioth_client *client,
44 const uint8_t *csr,
45 size_t csr_size,
46 golioth_post_cb_fn callback,
47 void *callback_arg);
48
50
51#ifdef __cplusplus
52}
53#endif
golioth_status
void(* golioth_post_cb_fn)(struct golioth_client *client, enum golioth_status status, const struct golioth_coap_rsp_code *coap_rsp_code, const char *path, const uint8_t *payload, size_t payload_size, void *arg)
Definition client.h:281
enum golioth_status golioth_pki_issue_cert(struct golioth_client *client, const uint8_t *csr, size_t csr_size, golioth_post_cb_fn callback, void *callback_arg)