Download OpenAPI specification:
Server description of the KMS endpoint processing ETSI GS QKD 004 push mode requests
According to the sequence, after receiving a successful get-key the QKD can push the keys it generates to this endpoint.
| status required | integer <uint32> (status) Enum: 0 1 2 3 4 5 6 7 8 Status code: 0 = Successful; HTTP code 200. 1 = Successful connection, but peer not connected; HTTP code 200. 2 = GET_KEY failed because insufficient key available; HTTP code 500. 3 = GET_KEY failed because peer application is not yet connected; HTTP code 400. 4 = No QKD connection available; HTTP code 500. 5 = OPEN_CONNECT failed because the KSID is already in use; HTTP code 400. 6 = TIMEOUT_ERROR: The call failed because the specified TIMEOUT; HTTP code 500. 7 = OPEN failed because requested QoS settings could not be met, counter proposal included in return has occurred; HTTP code 500. 8 = GET_KEY failed because metadata field size insufficient. Returned Metadata_size value holds minimum needed size of metadata; HTTP code 400. |
| index required | integer <uint32> increasing index of the key chunk in the key stream. Wrapping at UINT_MAX. |
| key_buffer required | string <base64> |
object |
{- "status": 0,
- "index": 0,
- "key_buffer": "string",
- "metadata": {
- "size": 57,
- "buffer": {
- "key_stream_id": "4eb81a5c-031f-4d1f-881d-309bee44fc20"
}
}
}{- "status": 0,
- "metadata": {
- "size": 0,
- "buffer": ""
}
}