mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-21 21:01:04 -05:00
19 lines
347 B
Protocol Buffer
19 lines
347 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package kmsapi;
|
||
|
|
||
|
option go_package = "github.com/edgelesssys/constellation/kms/server/kmsapi/kmsproto";
|
||
|
|
||
|
service API {
|
||
|
rpc GetDataKey(GetDataKeyRequest) returns (GetDataKeyResponse);
|
||
|
}
|
||
|
|
||
|
message GetDataKeyRequest {
|
||
|
string data_key_id = 1;
|
||
|
uint32 length = 2;
|
||
|
}
|
||
|
|
||
|
message GetDataKeyResponse {
|
||
|
bytes data_key = 1;
|
||
|
}
|