AWS IoT Device SDK C: Fleet Provisioning
AWS IoT Fleet Provisioning
Return to main page ↑
AwsIotProvisioningCreateCertFromCsrResponse_t Struct Reference

Aggregates the data from AWS IoT Core's response to the certificate creation request with a CSR. More...

#include <aws_iot_provisioning_types.h>

Data Fields

AwsIotProvisioningServerStatusCode_t statusCode
 The highest level HTTP based status code sent by the server.
 
union {
   struct {
      const char *   pDeviceCert
 
      size_t   deviceCertLength
 
      const char *   pCertId
 
      size_t   certIdLength
 
      const char *   pCertOwnershipToken
 
      size_t   ownershipTokenLength
 
   }   acceptedResponse
 Represents the successful/accepted response of device credentials received from the server.
 
   AwsIotProvisioningRejectedResponse_t   rejectedResponse
 Represents the rejected response information received from the server.
 
u
 Valid member depends on operation status.
 

Detailed Description

Aggregates the data from AWS IoT Core's response to the certificate creation request with a CSR.

Parameter for: Response Callback function of AwsIotProvisioning_CreateKeysAndCertificate

The AwsIotProvisioning_CreateKeysAndCertificate library API passes this object to a user-provided callback function whenever the operation completes with a response from the server.

Field Documentation

◆ pDeviceCert

const char* AwsIotProvisioningCreateCertFromCsrResponse_t::pDeviceCert

The new certificate for the device.

◆ deviceCertLength

size_t AwsIotProvisioningCreateCertFromCsrResponse_t::deviceCertLength

The size of the device certificate.

◆ pCertId

const char* AwsIotProvisioningCreateCertFromCsrResponse_t::pCertId

The certificate ID associated with the new certificate, pDeviceCertificate.

◆ certIdLength

size_t AwsIotProvisioningCreateCertFromCsrResponse_t::certIdLength

The length of the certificate ID.

◆ pCertOwnershipToken

const char* AwsIotProvisioningCreateCertFromCsrResponse_t::pCertOwnershipToken

The token that represents ownership of certificate and associated private key that the device.

◆ ownershipTokenLength

size_t AwsIotProvisioningCreateCertFromCsrResponse_t::ownershipTokenLength

The size of the ownership token.


The documentation for this struct was generated from the following file: