31 lines
656 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package proto;
// The Trustd service definition.
service Trustd {
rpc Certificate(CertificateRequest) returns (CertificateResponse) {}
2018-08-28 14:52:13 -07:00
rpc WriteFile(WriteFileRequest) returns (WriteFileResponse) {}
}
// The request message containing the process name.
message CertificateRequest {
bytes csr = 1;
}
// The response message containing the requested logs.
message CertificateResponse {
bytes bytes = 1;
}
2018-08-28 14:52:13 -07:00
// The request message containing the process name.
message WriteFileRequest {
string path = 1;
bytes data = 2;
int32 perm = 3;
}
// The response message containing the requested logs.
message WriteFileResponse {}