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

Aggregates the data sent as response from AWS IoT Core service for the request to generate new key-pair and certificate for the device. 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 *   pDeviceCertificate
 
      size_t   deviceCertificateLength
 
      const char *   pCertificateId
 
      size_t   certificateIdLength
 
      const char *   pPrivateKey
 
      size_t   privateKeyLength
 
      const char *   pCertificateOwnershipToken
 
      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 sent as response from AWS IoT Core service for the request to generate new key-pair and certificate for the device.

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

◆ pDeviceCertificate

const char* AwsIotProvisioningCreateKeysAndCertificateResponse_t::pDeviceCertificate

The new certificate for the device.

◆ deviceCertificateLength

size_t AwsIotProvisioningCreateKeysAndCertificateResponse_t::deviceCertificateLength

The size of the device certificate.

◆ pCertificateId

const char* AwsIotProvisioningCreateKeysAndCertificateResponse_t::pCertificateId

The certificate ID associated with the new certificate, pDeviceCertificate.

◆ certificateIdLength

size_t AwsIotProvisioningCreateKeysAndCertificateResponse_t::certificateIdLength

The length of the certificate ID.

◆ pPrivateKey

const char* AwsIotProvisioningCreateKeysAndCertificateResponse_t::pPrivateKey

The private key associated with the new certificate, pDeviceCertificate.

◆ privateKeyLength

size_t AwsIotProvisioningCreateKeysAndCertificateResponse_t::privateKeyLength

The size of the private key.

◆ pCertificateOwnershipToken

const char* AwsIotProvisioningCreateKeysAndCertificateResponse_t::pCertificateOwnershipToken

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

◆ ownershipTokenLength

size_t AwsIotProvisioningCreateKeysAndCertificateResponse_t::ownershipTokenLength

The size of the ownership token.


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