provisioning_sc_enrollment.h

Includes

#include "azure_c_shared_utility/agenttime.h"
#include "azure_macro_utils/macro_utils.h"
#include "umock_c/umock_c_prod.h"
#include "provisioning_sc_attestation_mechanism.h"
#include "provisioning_sc_device_registration_state.h"
#include "provisioning_sc_device_capabilities.h"
#include "provisioning_sc_twin.h"
#include "parson.h"

Detailed Description

Functions

Function Name Description
PROVISIONING_STATUSStrings
PROVISIONING_STATUS_FromString
individualEnrollment_create Creates an Individual Enrollment handle with a TPM Attestation for use in consequent APIs.
individualEnrollment_destroy Destroys an Individual Enrollment handle, freeing all associated memory. Please note that this also includes the attestation mechanism that was given in the constructor.
enrollmentGroup_create Creates an Enrollment Group handle with an X509 Attestation for use in consequent APIs.
enrollmentGroup_destroy Destorys an Enrollment Group handle, freeing all associated memory. Please note that this also includes the attestation mechanism that was given in the constructor.
individualEnrollment_getAttestationMechanism
individualEnrollment_setAttestationMechanism
individualEnrollment_getInitialTwin
individualEnrollment_setInitialTwin
individualEnrollment_getDeviceCapabilities
individualEnrollment_setDeviceCapabilities
individualEnrollment_getDeviceRegistrationState
individualEnrollment_getRegistrationId
individualEnrollment_getIotHubHostName
individualEnrollment_getDeviceId
individualEnrollment_setDeviceId
individualEnrollment_getEtag
individualEnrollment_setEtag
individualEnrollment_getProvisioningStatus
individualEnrollment_setProvisioningStatus
individualEnrollment_getCreatedDateTime
individualEnrollment_getUpdatedDateTime
enrollmentGroup_getAttestationMechanism
enrollmentGroup_setAttestationMechanism
enrollmentGroup_getInitialTwin
enrollmentGroup_setInitialTwin
enrollmentGroup_getGroupId
enrollmentGroup_getIotHubHostName
enrollmentGroup_getEtag
enrollmentGroup_setEtag
enrollmentGroup_getProvisioningStatus
enrollmentGroup_setProvisioningStatus
enrollmentGroup_getCreatedDateTime
enrollmentGroup_getUpdatedDateTime

Macro definitions

PROVISIONING_STATUS_VALUES

#define PROVISIONING_STATUS_VALUES \
        PROVISIONING_STATUS_NONE, \
        PROVISIONING_STATUS_ENABLED, \
        PROVISIONING_STATUS_DISABLED 

Enumeration types

PROVISIONING_STATUS

enum PROVISIONING_STATUS {
  PROVISIONING_STATUS_NONE,
  PROVISIONING_STATUS_ENABLED,
  PROVISIONING_STATUS_DISABLED
}

Type definitions

INDIVIDUAL_ENROLLMENT_HANDLE

Handles to hide structs and use them in consequent APIs.

typedef struct INDIVIDUAL_ENROLLMENT_TAG* INDIVIDUAL_ENROLLMENT_HANDLE;

ENROLLMENT_GROUP_HANDLE

typedef struct ENROLLMENT_GROUP_TAG* ENROLLMENT_GROUP_HANDLE;