Last Updated on : 2023-06-15 04:51:45
Generate the RSA public key for Bluetooth pairing.
POST: /v1.0/iot-03/device-registration/assets/{asset_id}/encryptions/rsa/public-key
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The asset ID. |
Parameter name | Type | Description |
---|---|---|
result | RsaPublishKeyRes |
Description of result
Parameter name | Type | Description |
---|---|---|
encryption_token | String | The secret key. |
public_key | String | The public key. |
expires_in | Integer | The time when the token expires. |
POST: /v1.0/iot-03/device-registration/assets/{asset_id}/encryptions/rsa/public-key
{
"result": {
"public_key": "******",
"encryption_token": "******",
"expires_in": 300
},
"t": 1591257455025,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback