2022-05-10 12:35:17 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2022-06-29 16:13:01 +02:00
|
|
|
package kms;
|
2022-05-10 12:35:17 +02:00
|
|
|
|
2023-01-11 10:08:57 +01:00
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/keyservice/keyserviceproto";
|
2022-05-10 12:35:17 +02:00
|
|
|
|
|
|
|
service API {
|
2023-03-23 13:08:49 -04:00
|
|
|
rpc GetDataKey(GetDataKeyRequest) returns (GetDataKeyResponse);
|
2022-05-10 12:35:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetDataKeyRequest {
|
2023-03-23 13:08:49 -04:00
|
|
|
string data_key_id = 1;
|
|
|
|
uint32 length = 2;
|
2022-05-10 12:35:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetDataKeyResponse {
|
2023-03-23 13:08:49 -04:00
|
|
|
bytes data_key = 1;
|
2022-05-10 12:35:17 +02:00
|
|
|
}
|