更新时间:2023-06-15 04:51:44
本文介绍生成蓝牙配网 RSA 公钥的 API。
生成蓝牙配网 RSA 公钥。
POST: /v1.0/iot-03/device-registration/assets/{asset_id}/encryptions/rsa/public-key
| 参数名 | 类型 | 参数位置 | 是否必填 | 说明 | 
|---|---|---|---|---|
| asset_id | String | uri | true | 资产 ID | 
| 参数名 | 类型 | 说明 | 
|---|---|---|
| result | RsaPublishKeyRes | 
result 说明
| 参数名 | 类型 | 说明 | 
|---|---|---|
| encryption_token | String | 密钥 | 
| public_key | String | 公钥 | 
| expires_in | Integer | 过期时间 | 
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
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈