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

3
package aesm_service; // import "github.com/opencontainers/runc/libenclave/intelsgx/proto"
4

5
// Refer to https://github.com/intel/linux-sgx/blob/master/psw/ae/aesm_service/source/core/ipc/messages.proto
6

7 8 9 10 11 12 13 14
message AesmServiceRequest {

    message GetLaunchToken {
        bytes enclavehash = 1;
        bytes modulus     = 2;
        bytes attributes  = 3;
        uint32 timeout    = 9;
    }
15

16
    GetLaunchToken getLaunchToken = 3;
17 18
}

19 20 21 22 23 24 25 26
message AesmServiceResponse {

    message GetLaunchToken {
        uint32 error = 1;
        bytes token  = 2;
    }

    GetLaunchToken getLaunchToken = 3;
27
}