Encryption Data Acquisition
This topic is used to subscribe to encryption data.
Topic
$hw/{project_id}/encryptdatas/{encryptdata_name}/properties/{properties_name}/plaintext
Parameter |
Type |
Description |
---|---|---|
project_id |
String |
Project ID. For details on how to obtain a project ID, see Obtaining a Project ID. |
encryptdata_name |
String |
Name of an encryption data record. |
properties_name |
String |
Key of an encryption item. |
Usage
Use an MQTT client to subscribe to this topic. This topic must be used together with Encryption Data Request.
A certificate must be used for security authentication when encryption data is requested. For details about the authentication method, see Performing Security Authentication Using Certificate.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
plain_text |
String |
Plaintext value of an encryption item. |
ret_message |
String |
Error message. |
Example
If the request is correct, the following message is received:
{ "ret_code": 200, "plain_text": "xxxxxxxxxxx" }
If the request is incorrect, the following message is received:
{ "ret_code": 400, "ret_message": "xxxxxxxxxxx" }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot