mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-18 04:14:33 -05:00
e7fc541a57
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
22 lines
568 B
Protocol Buffer
22 lines
568 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package verify;
|
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/verify/verifyproto";
|
|
|
|
service API {
|
|
// GetAttestation returns an attestation for the given user data and nonce.
|
|
rpc GetAttestation(GetAttestationRequest) returns (GetAttestationResponse);
|
|
}
|
|
|
|
message GetAttestationRequest {
|
|
// bytes user_data = 1; removed
|
|
// nonce is a random nonce to prevent replay attacks.
|
|
bytes nonce = 2;
|
|
}
|
|
|
|
message GetAttestationResponse {
|
|
// attestation is the attestation for the given user data and nonce.
|
|
bytes attestation = 1;
|
|
}
|