Obtaining the Log Public Key
Obtains the public key used to verify log signatures.
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 32. |
data |
Object |
- |
No |
Service message entity in key:value format. |
Request Body Example
{
"taskId": "SDFMOASDMNFIOASMD",
"version": "26.0",
"msgType": 32,
"data": {}
}
Response Header
Parameter |
Value |
|---|---|
Content-Type |
application/json |
Response Body
Parameter |
Type |
Specification |
Required (Yes/No) |
Description |
|---|---|---|---|---|
retCode |
Int |
32 |
Yes |
Error code |
retMsg |
String |
64 |
Yes |
Error message |
data |
Object |
- |
Yes |
Custom service data |
data.publicKey |
String |
1024 |
Yes |
Log public key content |
Response Body Example
{
"retCode": 0,
"retMsg": "Success",
"data": {
"publicKey": "-----BEGIN PUBLIC KEY-----..."
}
}
Parent topic: Trusted Log API