Download OpenAPI specification:
Server description of the QKD endpoint for processing ETSI GS QKD 004 push mode requests
The open-connect message connects a KMS to the QKD Device. As per sequence definition, the QKD device will assign the key_stream_id at the source node, therefore null has to be given as key_stream_id input parameter. At the destination, the key_stream_id has to be specified to the same value given at the source. The QKD can suggest alternative QoS due to its capabilities.
| source required | string <uri> the source URI of the request. |
| destination required | string <uri> the destination URI of the request. |
| key_stream_id required | string <uuid> ID of the key stream. If |
required | object (qos) All values according to ETSI GS QKD 004 specification. If KMS does not want to specify a parameter, it is up to the choice of the QKD. Either the value is given as "null" or not present. |
{- "key_stream_id": "4eb81a5c-031f-4d1f-881d-309bee44fc20",
- "qos": {
- "key_chunk_size": 32,
- "max_bps": 128,
- "min_bps": 64,
- "jitter": 1,
- "priority": 3,
- "timeout": 50,
- "ttl": 600,
- "metadata_mimetype": "application/json"
}
}{- "key_stream_id": "4eb81a5c-031f-4d1f-881d-309bee44fc20",
- "qos": {
- "key_chunk_size": 32,
- "max_bps": 128,
- "min_bps": 64,
- "jitter": 1,
- "priority": 3,
- "timeout": 50,
- "ttl": 600,
- "metadata_mimetype": "application/json"
}, - "status": 0
}The get-key message informs the QKD device that it can start pushing keys.
| key_stream_id required | string <uuid> corresponding to the one given in |
| index | integer <uint32> increasing index of the key chunk in the key stream. Wrapping at UINT_MAX. |
object (metadata) |
{- "key_stream_id": "4eb81a5c-031f-4d1f-881d-309bee44fc20",
- "index": 0,
- "metadata": {
- "size": 0,
- "buffer": ""
}
}{- "status": 0,
- "metadata": {
- "size": 0,
- "buffer": ""
}
}The close message disconnects the KMS from the QKD device.
| key_stream_id required | string <uuid> corresponding to the one given in |
{- "key_stream_id": "4eb81a5c-031f-4d1f-881d-309bee44fc20"
}{- "status": 0
}