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