Go to the documentation of this file.
97 #ifndef VS_IOT_PROVISION_H
98 #define VS_IOT_PROVISION_H
106 namespace VirgilIoTKit {
232 #endif // VS_IOT_PROVISION_H
Public key with date information.
Definition: provision-structs.h:209
vs_status_e vs_provision_get_slot_num(vs_provision_element_id_e id, uint16_t *slot)
Get slot number.
Security Module implementation.
Definition: secmodule.h:458
vs_key_type_e
Key type.
Definition: provision-structs.h:177
vs_status_e vs_provision_verify_hl_key(const uint8_t *key_to_check, uint16_t key_size)
Verify high level public key.
vs_status_e
Status code.
Definition: status_code.h:77
Provision interface structures.
const char * vs_provision_cloud_url(void)
Get Thing service URL.
vs_status_e vs_provision_search_hl_pubkey(vs_key_type_e key_type, vs_secmodule_keypair_type_e ec_type, const uint8_t *key, uint16_t key_sz)
Search high level public key.
vs_status_e vs_provision_deinit(void)
Provision destruction.
Status codes and macroses.
vs_status_e vs_provision_tl_find_next_key(vs_provision_tl_find_ctx_t *search_ctx, vs_pubkey_dated_t **pubkey_dated, uint8_t **pubkey, uint16_t *pubkey_sz, uint8_t **meta, uint16_t *meta_sz)
Find Next key.
Find context.
Definition: provision-structs.h:236
Storage element context.
Definition: storage_hal.h:221
vs_provision_element_id_e
Element ID.
Definition: provision-structs.h:164
vs_secmodule_keypair_type_e
Keypair types.
Definition: secmodule.h:76
vs_status_e vs_provision_tl_find_first_key(vs_provision_tl_find_ctx_t *search_ctx, vs_key_type_e key_type, vs_pubkey_dated_t **pubkey_dated, uint8_t **pubkey, uint16_t *pubkey_sz, uint8_t **meta, uint16_t *meta_sz)
Find first key.
Container of pointers to callback functions for Provision Events.
Definition: provision-structs.h:254
vs_status_e vs_provision_init(vs_storage_op_ctx_t *tl_storage_ctx, vs_secmodule_impl_t *secmodule, vs_provision_events_t events_cb)
Provision initialization.
Security Module implementations signatures.