source: azure_iot_hub_f767zi/trunk/azure_iot_sdk/provisioning_client/adapters/hsm_client_key.h@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 883 bytes
Line 
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#ifndef HSM_CLIENT_KEY_H
5#define HSM_CLIENT_KEY_H
6
7#ifdef __cplusplus
8extern "C" {
9#include <cstddef>
10#else
11#include <stddef.h>
12#endif /* __cplusplus */
13
14#include "umock_c/umock_c_prod.h"
15#include "hsm_client_data.h"
16
17MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, hsm_client_key_create);
18MOCKABLE_FUNCTION(, void, hsm_client_key_destroy, HSM_CLIENT_HANDLE, handle);
19MOCKABLE_FUNCTION(, char*, hsm_client_get_symmetric_key, HSM_CLIENT_HANDLE, handle);
20MOCKABLE_FUNCTION(, char*, hsm_client_get_registration_name, HSM_CLIENT_HANDLE, handle);
21MOCKABLE_FUNCTION(, int, hsm_client_set_key_info, HSM_CLIENT_HANDLE, handle, const char*, reg_name, const char*, symm_key);
22
23#ifdef __cplusplus
24}
25#endif /* __cplusplus */
26
27#endif // HSM_CLIENT_RIOT
Note: See TracBrowser for help on using the repository browser.