aesm-service.proto 453 字节
Newer Older
1 2
syntax = "proto3";

3
package aesm_service; // import "github.com/opencontainers/runc/libenclave/intelsgx/proto"
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

message GetTokenRequest {
    bytes enclavehash = 1;
    bytes modulus     = 2;
    bytes attributes  = 3;
    uint32 timeout    = 4;
}

message GetTokenRequestMessage {
    GetTokenRequest req = 3;
}

message GetTokenResponse {
    int32 error = 1;
    bytes token = 2;
}

message GetTokenResponseMessage {
    GetTokenResponse resp = 3;
}