Signing Log Data
Signs the provided log message.
Item |
Description |
|---|---|
API path |
/rest/kdc_agent/v1/proxy |
Request method |
POST |
Request Header
Parameter |
Value |
|---|---|
Content-Type |
application/json |
Accept |
application/json |
Request Body
Parameter |
Type |
Specification |
Required (Yes/No) |
Description |
|---|---|---|---|---|
taskId |
String |
64 |
Yes |
Task ID. Each request must use a unique ID. |
version |
String |
8 |
Yes |
Payload format version in VR format, initially set to 26.0. |
msgType |
Int |
32 |
Yes |
Service message type, with a value of 33. |
data |
Object |
- |
Yes |
Service message entity in key:value format. |
data.data |
String |
10240 |
Yes |
Base64-encoded log message content to be signed. |
Request Body Example
{
"taskId": "SDFMOASDMNFIOASMD",
"version": "26.0",
"msgType": 33,
"data": {
"data": "SGVsbG8gV29ybGQ="
}
}
Response Header
Parameter |
Value |
|---|---|
Content-Type |
application/json |
Response Body
Parameter |
Type |
Specification |
Description |
|---|---|---|---|
retCode |
Int |
32 |
Error code |
retMsg |
String |
64 |
Error message |
data |
Object |
- |
Custom service data |
data.signedData |
String |
- |
Base64-encoded signature result |
Response Body Example
{
"retCode": 0,
"retMsg": "Success",
"data": {
"signedData": "MEQCIAF0mDswSGWDj10srPeOQFfpiXxq+r+ZnTjJDlJIemmeAiBgV52uvhqJE4XB"
}
}
Parent topic: Trusted Log API