未验证 提交 bdf49091 编写于 作者: H hustliyilin 提交者: GitHub

rune/libenclave: Allow to import .pb.go

Signed-off-by: NYilin Li <YiLin.Li@linux.alibaba.com>
上级 76156bb6
......@@ -4,5 +4,4 @@ vendor/pkg
contrib/cmd/recvtty/recvtty
man/man8
release
*.pb.go
liberpal-skeleton*.so
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: shelterd-attestation.proto
package shelterd_proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type AttestChallenge struct {
Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttestChallenge) Reset() { *m = AttestChallenge{} }
func (m *AttestChallenge) String() string { return proto.CompactTextString(m) }
func (*AttestChallenge) ProtoMessage() {}
func (*AttestChallenge) Descriptor() ([]byte, []int) {
return fileDescriptor_01dafffd60f2135c, []int{0}
}
func (m *AttestChallenge) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttestChallenge.Unmarshal(m, b)
}
func (m *AttestChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttestChallenge.Marshal(b, m, deterministic)
}
func (m *AttestChallenge) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttestChallenge.Merge(m, src)
}
func (m *AttestChallenge) XXX_Size() int {
return xxx_messageInfo_AttestChallenge.Size(m)
}
func (m *AttestChallenge) XXX_DiscardUnknown() {
xxx_messageInfo_AttestChallenge.DiscardUnknown(m)
}
var xxx_messageInfo_AttestChallenge proto.InternalMessageInfo
func (m *AttestChallenge) GetNonce() []byte {
if m != nil {
return m.Nonce
}
return nil
}
type AttestResponse struct {
Quote []byte `protobuf:"bytes,2,opt,name=quote,proto3" json:"quote,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AttestResponse) Reset() { *m = AttestResponse{} }
func (m *AttestResponse) String() string { return proto.CompactTextString(m) }
func (*AttestResponse) ProtoMessage() {}
func (*AttestResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_01dafffd60f2135c, []int{1}
}
func (m *AttestResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttestResponse.Unmarshal(m, b)
}
func (m *AttestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AttestResponse.Marshal(b, m, deterministic)
}
func (m *AttestResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AttestResponse.Merge(m, src)
}
func (m *AttestResponse) XXX_Size() int {
return xxx_messageInfo_AttestResponse.Size(m)
}
func (m *AttestResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AttestResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AttestResponse proto.InternalMessageInfo
func (m *AttestResponse) GetQuote() []byte {
if m != nil {
return m.Quote
}
return nil
}
func init() {
proto.RegisterType((*AttestChallenge)(nil), "shelterd_proto.AttestChallenge")
proto.RegisterType((*AttestResponse)(nil), "shelterd_proto.AttestResponse")
}
func init() {
proto.RegisterFile("shelterd-attestation.proto", fileDescriptor_01dafffd60f2135c)
}
var fileDescriptor_01dafffd60f2135c = []byte{
// 160 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0xce, 0x48, 0xcd,
0x29, 0x49, 0x2d, 0x4a, 0xd1, 0x4d, 0x2c, 0x29, 0x49, 0x2d, 0x2e, 0x49, 0x2c, 0xc9, 0xcc, 0xcf,
0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xc9, 0xc5, 0x83, 0xf9, 0x4a, 0xea, 0x5c,
0xfc, 0x8e, 0x60, 0x45, 0xce, 0x19, 0x89, 0x39, 0x39, 0xa9, 0x79, 0xe9, 0xa9, 0x42, 0x22, 0x5c,
0xac, 0x79, 0xf9, 0x79, 0xc9, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x3c, 0x41, 0x10, 0x8e, 0x92,
0x1a, 0x17, 0x1f, 0x44, 0x61, 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x31, 0x58, 0x5d, 0x61, 0x69,
0x7e, 0x49, 0xaa, 0x04, 0x13, 0x44, 0x1d, 0x98, 0x63, 0x94, 0xca, 0xc5, 0xed, 0x88, 0xb0, 0x55,
0x28, 0x8c, 0x4b, 0xd0, 0x33, 0x2f, 0xb3, 0x24, 0x33, 0xb1, 0x24, 0x15, 0x61, 0x83, 0xbc, 0x1e,
0xaa, 0x2b, 0xf4, 0xd0, 0x9c, 0x20, 0x25, 0x87, 0x5d, 0x01, 0xcc, 0x6a, 0x25, 0x86, 0x24, 0x36,
0xb0, 0xb8, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x59, 0x89, 0x9c, 0xec, 0x00, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: aesm-service.proto
package aesm_service
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type AesmServiceRequest struct {
GetQeTargetInfo *AesmServiceRequest_GetQeTargetInfo `protobuf:"bytes,1,opt,name=getQeTargetInfo,proto3" json:"getQeTargetInfo,omitempty"`
GetQuote *AesmServiceRequest_GetQuote `protobuf:"bytes,2,opt,name=getQuote,proto3" json:"getQuote,omitempty"`
GetLaunchToken *AesmServiceRequest_GetLaunchToken `protobuf:"bytes,3,opt,name=getLaunchToken,proto3" json:"getLaunchToken,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceRequest) Reset() { *m = AesmServiceRequest{} }
func (m *AesmServiceRequest) String() string { return proto.CompactTextString(m) }
func (*AesmServiceRequest) ProtoMessage() {}
func (*AesmServiceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{0}
}
func (m *AesmServiceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceRequest.Unmarshal(m, b)
}
func (m *AesmServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceRequest.Marshal(b, m, deterministic)
}
func (m *AesmServiceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceRequest.Merge(m, src)
}
func (m *AesmServiceRequest) XXX_Size() int {
return xxx_messageInfo_AesmServiceRequest.Size(m)
}
func (m *AesmServiceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceRequest proto.InternalMessageInfo
func (m *AesmServiceRequest) GetGetQeTargetInfo() *AesmServiceRequest_GetQeTargetInfo {
if m != nil {
return m.GetQeTargetInfo
}
return nil
}
func (m *AesmServiceRequest) GetGetQuote() *AesmServiceRequest_GetQuote {
if m != nil {
return m.GetQuote
}
return nil
}
func (m *AesmServiceRequest) GetGetLaunchToken() *AesmServiceRequest_GetLaunchToken {
if m != nil {
return m.GetLaunchToken
}
return nil
}
type AesmServiceRequest_GetQeTargetInfo struct {
Timeout uint32 `protobuf:"varint,9,opt,name=timeout,proto3" json:"timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceRequest_GetQeTargetInfo) Reset() { *m = AesmServiceRequest_GetQeTargetInfo{} }
func (m *AesmServiceRequest_GetQeTargetInfo) String() string { return proto.CompactTextString(m) }
func (*AesmServiceRequest_GetQeTargetInfo) ProtoMessage() {}
func (*AesmServiceRequest_GetQeTargetInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{0, 0}
}
func (m *AesmServiceRequest_GetQeTargetInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceRequest_GetQeTargetInfo.Unmarshal(m, b)
}
func (m *AesmServiceRequest_GetQeTargetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceRequest_GetQeTargetInfo.Marshal(b, m, deterministic)
}
func (m *AesmServiceRequest_GetQeTargetInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceRequest_GetQeTargetInfo.Merge(m, src)
}
func (m *AesmServiceRequest_GetQeTargetInfo) XXX_Size() int {
return xxx_messageInfo_AesmServiceRequest_GetQeTargetInfo.Size(m)
}
func (m *AesmServiceRequest_GetQeTargetInfo) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceRequest_GetQeTargetInfo.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceRequest_GetQeTargetInfo proto.InternalMessageInfo
func (m *AesmServiceRequest_GetQeTargetInfo) GetTimeout() uint32 {
if m != nil {
return m.Timeout
}
return 0
}
type AesmServiceRequest_GetQuote struct {
Report []byte `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"`
// Types that are valid to be assigned to QuoteTypePresent:
// *AesmServiceRequest_GetQuote_QuoteType
QuoteTypePresent isAesmServiceRequest_GetQuote_QuoteTypePresent `protobuf_oneof:"quote_type_present"`
Spid []byte `protobuf:"bytes,3,opt,name=spid,proto3" json:"spid,omitempty"`
Nonce []byte `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
SigRl []byte `protobuf:"bytes,5,opt,name=sig_rl,json=sigRl,proto3" json:"sig_rl,omitempty"`
BufSize uint32 `protobuf:"varint,6,opt,name=buf_size,json=bufSize,proto3" json:"buf_size,omitempty"`
// Types that are valid to be assigned to QeReportPresent:
// *AesmServiceRequest_GetQuote_QeReport
QeReportPresent isAesmServiceRequest_GetQuote_QeReportPresent `protobuf_oneof:"qe_report_present"`
Timeout uint32 `protobuf:"varint,9,opt,name=timeout,proto3" json:"timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceRequest_GetQuote) Reset() { *m = AesmServiceRequest_GetQuote{} }
func (m *AesmServiceRequest_GetQuote) String() string { return proto.CompactTextString(m) }
func (*AesmServiceRequest_GetQuote) ProtoMessage() {}
func (*AesmServiceRequest_GetQuote) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{0, 1}
}
func (m *AesmServiceRequest_GetQuote) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceRequest_GetQuote.Unmarshal(m, b)
}
func (m *AesmServiceRequest_GetQuote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceRequest_GetQuote.Marshal(b, m, deterministic)
}
func (m *AesmServiceRequest_GetQuote) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceRequest_GetQuote.Merge(m, src)
}
func (m *AesmServiceRequest_GetQuote) XXX_Size() int {
return xxx_messageInfo_AesmServiceRequest_GetQuote.Size(m)
}
func (m *AesmServiceRequest_GetQuote) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceRequest_GetQuote.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceRequest_GetQuote proto.InternalMessageInfo
func (m *AesmServiceRequest_GetQuote) GetReport() []byte {
if m != nil {
return m.Report
}
return nil
}
type isAesmServiceRequest_GetQuote_QuoteTypePresent interface {
isAesmServiceRequest_GetQuote_QuoteTypePresent()
}
type AesmServiceRequest_GetQuote_QuoteType struct {
QuoteType uint32 `protobuf:"varint,2,opt,name=quote_type,json=quoteType,proto3,oneof"`
}
func (*AesmServiceRequest_GetQuote_QuoteType) isAesmServiceRequest_GetQuote_QuoteTypePresent() {}
func (m *AesmServiceRequest_GetQuote) GetQuoteTypePresent() isAesmServiceRequest_GetQuote_QuoteTypePresent {
if m != nil {
return m.QuoteTypePresent
}
return nil
}
func (m *AesmServiceRequest_GetQuote) GetQuoteType() uint32 {
if x, ok := m.GetQuoteTypePresent().(*AesmServiceRequest_GetQuote_QuoteType); ok {
return x.QuoteType
}
return 0
}
func (m *AesmServiceRequest_GetQuote) GetSpid() []byte {
if m != nil {
return m.Spid
}
return nil
}
func (m *AesmServiceRequest_GetQuote) GetNonce() []byte {
if m != nil {
return m.Nonce
}
return nil
}
func (m *AesmServiceRequest_GetQuote) GetSigRl() []byte {
if m != nil {
return m.SigRl
}
return nil
}
func (m *AesmServiceRequest_GetQuote) GetBufSize() uint32 {
if m != nil {
return m.BufSize
}
return 0
}
type isAesmServiceRequest_GetQuote_QeReportPresent interface {
isAesmServiceRequest_GetQuote_QeReportPresent()
}
type AesmServiceRequest_GetQuote_QeReport struct {
QeReport bool `protobuf:"varint,7,opt,name=qe_report,json=qeReport,proto3,oneof"`
}
func (*AesmServiceRequest_GetQuote_QeReport) isAesmServiceRequest_GetQuote_QeReportPresent() {}
func (m *AesmServiceRequest_GetQuote) GetQeReportPresent() isAesmServiceRequest_GetQuote_QeReportPresent {
if m != nil {
return m.QeReportPresent
}
return nil
}
func (m *AesmServiceRequest_GetQuote) GetQeReport() bool {
if x, ok := m.GetQeReportPresent().(*AesmServiceRequest_GetQuote_QeReport); ok {
return x.QeReport
}
return false
}
func (m *AesmServiceRequest_GetQuote) GetTimeout() uint32 {
if m != nil {
return m.Timeout
}
return 0
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AesmServiceRequest_GetQuote) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AesmServiceRequest_GetQuote_QuoteType)(nil),
(*AesmServiceRequest_GetQuote_QeReport)(nil),
}
}
type AesmServiceRequest_GetLaunchToken struct {
Enclavehash []byte `protobuf:"bytes,1,opt,name=enclavehash,proto3" json:"enclavehash,omitempty"`
Modulus []byte `protobuf:"bytes,2,opt,name=modulus,proto3" json:"modulus,omitempty"`
Attributes []byte `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
Timeout uint32 `protobuf:"varint,9,opt,name=timeout,proto3" json:"timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceRequest_GetLaunchToken) Reset() { *m = AesmServiceRequest_GetLaunchToken{} }
func (m *AesmServiceRequest_GetLaunchToken) String() string { return proto.CompactTextString(m) }
func (*AesmServiceRequest_GetLaunchToken) ProtoMessage() {}
func (*AesmServiceRequest_GetLaunchToken) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{0, 2}
}
func (m *AesmServiceRequest_GetLaunchToken) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceRequest_GetLaunchToken.Unmarshal(m, b)
}
func (m *AesmServiceRequest_GetLaunchToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceRequest_GetLaunchToken.Marshal(b, m, deterministic)
}
func (m *AesmServiceRequest_GetLaunchToken) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceRequest_GetLaunchToken.Merge(m, src)
}
func (m *AesmServiceRequest_GetLaunchToken) XXX_Size() int {
return xxx_messageInfo_AesmServiceRequest_GetLaunchToken.Size(m)
}
func (m *AesmServiceRequest_GetLaunchToken) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceRequest_GetLaunchToken.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceRequest_GetLaunchToken proto.InternalMessageInfo
func (m *AesmServiceRequest_GetLaunchToken) GetEnclavehash() []byte {
if m != nil {
return m.Enclavehash
}
return nil
}
func (m *AesmServiceRequest_GetLaunchToken) GetModulus() []byte {
if m != nil {
return m.Modulus
}
return nil
}
func (m *AesmServiceRequest_GetLaunchToken) GetAttributes() []byte {
if m != nil {
return m.Attributes
}
return nil
}
func (m *AesmServiceRequest_GetLaunchToken) GetTimeout() uint32 {
if m != nil {
return m.Timeout
}
return 0
}
type AesmServiceResponse struct {
GetQeTargetInfo *AesmServiceResponse_GetQeTargetInfo `protobuf:"bytes,1,opt,name=getQeTargetInfo,proto3" json:"getQeTargetInfo,omitempty"`
GetQuote *AesmServiceResponse_GetQuote `protobuf:"bytes,2,opt,name=getQuote,proto3" json:"getQuote,omitempty"`
GetLaunchToken *AesmServiceResponse_GetLaunchToken `protobuf:"bytes,3,opt,name=getLaunchToken,proto3" json:"getLaunchToken,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceResponse) Reset() { *m = AesmServiceResponse{} }
func (m *AesmServiceResponse) String() string { return proto.CompactTextString(m) }
func (*AesmServiceResponse) ProtoMessage() {}
func (*AesmServiceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{1}
}
func (m *AesmServiceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceResponse.Unmarshal(m, b)
}
func (m *AesmServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceResponse.Marshal(b, m, deterministic)
}
func (m *AesmServiceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceResponse.Merge(m, src)
}
func (m *AesmServiceResponse) XXX_Size() int {
return xxx_messageInfo_AesmServiceResponse.Size(m)
}
func (m *AesmServiceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceResponse proto.InternalMessageInfo
func (m *AesmServiceResponse) GetGetQeTargetInfo() *AesmServiceResponse_GetQeTargetInfo {
if m != nil {
return m.GetQeTargetInfo
}
return nil
}
func (m *AesmServiceResponse) GetGetQuote() *AesmServiceResponse_GetQuote {
if m != nil {
return m.GetQuote
}
return nil
}
func (m *AesmServiceResponse) GetGetLaunchToken() *AesmServiceResponse_GetLaunchToken {
if m != nil {
return m.GetLaunchToken
}
return nil
}
type AesmServiceResponse_GetQeTargetInfo struct {
Error uint32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
Targetinfo []byte `protobuf:"bytes,2,opt,name=targetinfo,proto3" json:"targetinfo,omitempty"`
Gid []byte `protobuf:"bytes,3,opt,name=gid,proto3" json:"gid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceResponse_GetQeTargetInfo) Reset() { *m = AesmServiceResponse_GetQeTargetInfo{} }
func (m *AesmServiceResponse_GetQeTargetInfo) String() string { return proto.CompactTextString(m) }
func (*AesmServiceResponse_GetQeTargetInfo) ProtoMessage() {}
func (*AesmServiceResponse_GetQeTargetInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{1, 0}
}
func (m *AesmServiceResponse_GetQeTargetInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceResponse_GetQeTargetInfo.Unmarshal(m, b)
}
func (m *AesmServiceResponse_GetQeTargetInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceResponse_GetQeTargetInfo.Marshal(b, m, deterministic)
}
func (m *AesmServiceResponse_GetQeTargetInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceResponse_GetQeTargetInfo.Merge(m, src)
}
func (m *AesmServiceResponse_GetQeTargetInfo) XXX_Size() int {
return xxx_messageInfo_AesmServiceResponse_GetQeTargetInfo.Size(m)
}
func (m *AesmServiceResponse_GetQeTargetInfo) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceResponse_GetQeTargetInfo.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceResponse_GetQeTargetInfo proto.InternalMessageInfo
func (m *AesmServiceResponse_GetQeTargetInfo) GetError() uint32 {
if m != nil {
return m.Error
}
return 0
}
func (m *AesmServiceResponse_GetQeTargetInfo) GetTargetinfo() []byte {
if m != nil {
return m.Targetinfo
}
return nil
}
func (m *AesmServiceResponse_GetQeTargetInfo) GetGid() []byte {
if m != nil {
return m.Gid
}
return nil
}
type AesmServiceResponse_GetQuote struct {
Error uint32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
Quote []byte `protobuf:"bytes,2,opt,name=quote,proto3" json:"quote,omitempty"`
QeReport []byte `protobuf:"bytes,3,opt,name=qe_report,json=qeReport,proto3" json:"qe_report,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceResponse_GetQuote) Reset() { *m = AesmServiceResponse_GetQuote{} }
func (m *AesmServiceResponse_GetQuote) String() string { return proto.CompactTextString(m) }
func (*AesmServiceResponse_GetQuote) ProtoMessage() {}
func (*AesmServiceResponse_GetQuote) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{1, 1}
}
func (m *AesmServiceResponse_GetQuote) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceResponse_GetQuote.Unmarshal(m, b)
}
func (m *AesmServiceResponse_GetQuote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceResponse_GetQuote.Marshal(b, m, deterministic)
}
func (m *AesmServiceResponse_GetQuote) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceResponse_GetQuote.Merge(m, src)
}
func (m *AesmServiceResponse_GetQuote) XXX_Size() int {
return xxx_messageInfo_AesmServiceResponse_GetQuote.Size(m)
}
func (m *AesmServiceResponse_GetQuote) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceResponse_GetQuote.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceResponse_GetQuote proto.InternalMessageInfo
func (m *AesmServiceResponse_GetQuote) GetError() uint32 {
if m != nil {
return m.Error
}
return 0
}
func (m *AesmServiceResponse_GetQuote) GetQuote() []byte {
if m != nil {
return m.Quote
}
return nil
}
func (m *AesmServiceResponse_GetQuote) GetQeReport() []byte {
if m != nil {
return m.QeReport
}
return nil
}
type AesmServiceResponse_GetLaunchToken struct {
Error uint32 `protobuf:"varint,1,opt,name=error,proto3" json:"error,omitempty"`
Token []byte `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesmServiceResponse_GetLaunchToken) Reset() { *m = AesmServiceResponse_GetLaunchToken{} }
func (m *AesmServiceResponse_GetLaunchToken) String() string { return proto.CompactTextString(m) }
func (*AesmServiceResponse_GetLaunchToken) ProtoMessage() {}
func (*AesmServiceResponse_GetLaunchToken) Descriptor() ([]byte, []int) {
return fileDescriptor_85fe23d8fdbcfe93, []int{1, 2}
}
func (m *AesmServiceResponse_GetLaunchToken) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesmServiceResponse_GetLaunchToken.Unmarshal(m, b)
}
func (m *AesmServiceResponse_GetLaunchToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesmServiceResponse_GetLaunchToken.Marshal(b, m, deterministic)
}
func (m *AesmServiceResponse_GetLaunchToken) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesmServiceResponse_GetLaunchToken.Merge(m, src)
}
func (m *AesmServiceResponse_GetLaunchToken) XXX_Size() int {
return xxx_messageInfo_AesmServiceResponse_GetLaunchToken.Size(m)
}
func (m *AesmServiceResponse_GetLaunchToken) XXX_DiscardUnknown() {
xxx_messageInfo_AesmServiceResponse_GetLaunchToken.DiscardUnknown(m)
}
var xxx_messageInfo_AesmServiceResponse_GetLaunchToken proto.InternalMessageInfo
func (m *AesmServiceResponse_GetLaunchToken) GetError() uint32 {
if m != nil {
return m.Error
}
return 0
}
func (m *AesmServiceResponse_GetLaunchToken) GetToken() []byte {
if m != nil {
return m.Token
}
return nil
}
func init() {
proto.RegisterType((*AesmServiceRequest)(nil), "aesm_service.AesmServiceRequest")
proto.RegisterType((*AesmServiceRequest_GetQeTargetInfo)(nil), "aesm_service.AesmServiceRequest.GetQeTargetInfo")
proto.RegisterType((*AesmServiceRequest_GetQuote)(nil), "aesm_service.AesmServiceRequest.GetQuote")
proto.RegisterType((*AesmServiceRequest_GetLaunchToken)(nil), "aesm_service.AesmServiceRequest.GetLaunchToken")
proto.RegisterType((*AesmServiceResponse)(nil), "aesm_service.AesmServiceResponse")
proto.RegisterType((*AesmServiceResponse_GetQeTargetInfo)(nil), "aesm_service.AesmServiceResponse.GetQeTargetInfo")
proto.RegisterType((*AesmServiceResponse_GetQuote)(nil), "aesm_service.AesmServiceResponse.GetQuote")
proto.RegisterType((*AesmServiceResponse_GetLaunchToken)(nil), "aesm_service.AesmServiceResponse.GetLaunchToken")
}
func init() {
proto.RegisterFile("aesm-service.proto", fileDescriptor_85fe23d8fdbcfe93)
}
var fileDescriptor_85fe23d8fdbcfe93 = []byte{
// 508 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0x4d, 0x6f, 0xd3, 0x40,
0x14, 0xc4, 0x6d, 0x92, 0x3a, 0xaf, 0x4e, 0x0b, 0xaf, 0x01, 0x19, 0x23, 0x20, 0xea, 0x29, 0x80,
0x08,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0x76, 0xa3, 0xd0, 0x8f, 0xb7, 0x73, 0x5d, 0x6b, 0xf4, 0xe7, 0x9a,
0x46, 0x9f, 0x6c, 0xe5, 0x76, 0x5d, 0xa5, 0xbf, 0x6c, 0x56, 0xba, 0x0b, 0x4d, 0x12, 0x82, 0x0b,
0x9d, 0x43, 0x87, 0x19, 0x90, 0x27, 0xaf, 0xf4, 0x9d, 0x28, 0x8f, 0xc8, 0x3c, 0x4b, 0x85, 0xc1,
0x9b, 0xb0, 0x1b, 0x96, 0x3d, 0xcd, 0x8f, 0xde, 0xb0, 0xd2, 0xff, 0x7f, 0x7b, 0x76, 0xa1, 0x99,
0x96, 0xd9, 0x38, 0xcc, 0x00, 0xbc, 0x57, 0xad, 0xa5, 0xf1, 0x2b, 0x4b, 0xe9, 0xbd, 0xda, 0xa8,
0x53, 0xad, 0xb5, 0xd2, 0x41, 0x15, 0xd6, 0x1a, 0x8c, 0x5b, 0xfa, 0x47, 0xf7, 0xf2, 0x4f, 0x00,
0x00, 0x00, 0xff, 0xff, 0x78, 0xa8, 0xff, 0xa7, 0xfe, 0x04, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: agent-service.proto
package libenclave_proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type AgentServiceRequest struct {
Exec *AgentServiceRequest_Execute `protobuf:"bytes,1,opt,name=exec,proto3" json:"exec,omitempty"`
Kill *AgentServiceRequest_Kill `protobuf:"bytes,2,opt,name=kill,proto3" json:"kill,omitempty"`
Attest *AgentServiceRequest_Attest `protobuf:"bytes,3,opt,name=attest,proto3" json:"attest,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceRequest) Reset() { *m = AgentServiceRequest{} }
func (m *AgentServiceRequest) String() string { return proto.CompactTextString(m) }
func (*AgentServiceRequest) ProtoMessage() {}
func (*AgentServiceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{0}
}
func (m *AgentServiceRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceRequest.Unmarshal(m, b)
}
func (m *AgentServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceRequest.Marshal(b, m, deterministic)
}
func (m *AgentServiceRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceRequest.Merge(m, src)
}
func (m *AgentServiceRequest) XXX_Size() int {
return xxx_messageInfo_AgentServiceRequest.Size(m)
}
func (m *AgentServiceRequest) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceRequest.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceRequest proto.InternalMessageInfo
func (m *AgentServiceRequest) GetExec() *AgentServiceRequest_Execute {
if m != nil {
return m.Exec
}
return nil
}
func (m *AgentServiceRequest) GetKill() *AgentServiceRequest_Kill {
if m != nil {
return m.Kill
}
return nil
}
func (m *AgentServiceRequest) GetAttest() *AgentServiceRequest_Attest {
if m != nil {
return m.Attest
}
return nil
}
type AgentServiceRequest_Execute struct {
Argv string `protobuf:"bytes,1,opt,name=argv,proto3" json:"argv,omitempty"`
Envp string `protobuf:"bytes,2,opt,name=envp,proto3" json:"envp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceRequest_Execute) Reset() { *m = AgentServiceRequest_Execute{} }
func (m *AgentServiceRequest_Execute) String() string { return proto.CompactTextString(m) }
func (*AgentServiceRequest_Execute) ProtoMessage() {}
func (*AgentServiceRequest_Execute) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{0, 0}
}
func (m *AgentServiceRequest_Execute) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceRequest_Execute.Unmarshal(m, b)
}
func (m *AgentServiceRequest_Execute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceRequest_Execute.Marshal(b, m, deterministic)
}
func (m *AgentServiceRequest_Execute) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceRequest_Execute.Merge(m, src)
}
func (m *AgentServiceRequest_Execute) XXX_Size() int {
return xxx_messageInfo_AgentServiceRequest_Execute.Size(m)
}
func (m *AgentServiceRequest_Execute) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceRequest_Execute.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceRequest_Execute proto.InternalMessageInfo
func (m *AgentServiceRequest_Execute) GetArgv() string {
if m != nil {
return m.Argv
}
return ""
}
func (m *AgentServiceRequest_Execute) GetEnvp() string {
if m != nil {
return m.Envp
}
return ""
}
type AgentServiceRequest_Kill struct {
Sig int32 `protobuf:"varint,1,opt,name=sig,proto3" json:"sig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceRequest_Kill) Reset() { *m = AgentServiceRequest_Kill{} }
func (m *AgentServiceRequest_Kill) String() string { return proto.CompactTextString(m) }
func (*AgentServiceRequest_Kill) ProtoMessage() {}
func (*AgentServiceRequest_Kill) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{0, 1}
}
func (m *AgentServiceRequest_Kill) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceRequest_Kill.Unmarshal(m, b)
}
func (m *AgentServiceRequest_Kill) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceRequest_Kill.Marshal(b, m, deterministic)
}
func (m *AgentServiceRequest_Kill) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceRequest_Kill.Merge(m, src)
}
func (m *AgentServiceRequest_Kill) XXX_Size() int {
return xxx_messageInfo_AgentServiceRequest_Kill.Size(m)
}
func (m *AgentServiceRequest_Kill) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceRequest_Kill.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceRequest_Kill proto.InternalMessageInfo
func (m *AgentServiceRequest_Kill) GetSig() int32 {
if m != nil {
return m.Sig
}
return 0
}
type AgentServiceRequest_Attest struct {
Spid string `protobuf:"bytes,1,opt,name=spid,proto3" json:"spid,omitempty"`
SubscriptionKey string `protobuf:"bytes,2,opt,name=subscriptionKey,proto3" json:"subscriptionKey,omitempty"`
Product uint32 `protobuf:"varint,3,opt,name=product,proto3" json:"product,omitempty"`
QuoteType uint32 `protobuf:"varint,4,opt,name=quoteType,proto3" json:"quoteType,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceRequest_Attest) Reset() { *m = AgentServiceRequest_Attest{} }
func (m *AgentServiceRequest_Attest) String() string { return proto.CompactTextString(m) }
func (*AgentServiceRequest_Attest) ProtoMessage() {}
func (*AgentServiceRequest_Attest) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{0, 2}
}
func (m *AgentServiceRequest_Attest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceRequest_Attest.Unmarshal(m, b)
}
func (m *AgentServiceRequest_Attest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceRequest_Attest.Marshal(b, m, deterministic)
}
func (m *AgentServiceRequest_Attest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceRequest_Attest.Merge(m, src)
}
func (m *AgentServiceRequest_Attest) XXX_Size() int {
return xxx_messageInfo_AgentServiceRequest_Attest.Size(m)
}
func (m *AgentServiceRequest_Attest) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceRequest_Attest.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceRequest_Attest proto.InternalMessageInfo
func (m *AgentServiceRequest_Attest) GetSpid() string {
if m != nil {
return m.Spid
}
return ""
}
func (m *AgentServiceRequest_Attest) GetSubscriptionKey() string {
if m != nil {
return m.SubscriptionKey
}
return ""
}
func (m *AgentServiceRequest_Attest) GetProduct() uint32 {
if m != nil {
return m.Product
}
return 0
}
func (m *AgentServiceRequest_Attest) GetQuoteType() uint32 {
if m != nil {
return m.QuoteType
}
return 0
}
type AgentServiceResponse struct {
Exec *AgentServiceResponse_Execute `protobuf:"bytes,1,opt,name=exec,proto3" json:"exec,omitempty"`
Attest *AgentServiceResponse_Attest `protobuf:"bytes,2,opt,name=attest,proto3" json:"attest,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceResponse) Reset() { *m = AgentServiceResponse{} }
func (m *AgentServiceResponse) String() string { return proto.CompactTextString(m) }
func (*AgentServiceResponse) ProtoMessage() {}
func (*AgentServiceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{1}
}
func (m *AgentServiceResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceResponse.Unmarshal(m, b)
}
func (m *AgentServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceResponse.Marshal(b, m, deterministic)
}
func (m *AgentServiceResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceResponse.Merge(m, src)
}
func (m *AgentServiceResponse) XXX_Size() int {
return xxx_messageInfo_AgentServiceResponse.Size(m)
}
func (m *AgentServiceResponse) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceResponse.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceResponse proto.InternalMessageInfo
func (m *AgentServiceResponse) GetExec() *AgentServiceResponse_Execute {
if m != nil {
return m.Exec
}
return nil
}
func (m *AgentServiceResponse) GetAttest() *AgentServiceResponse_Attest {
if m != nil {
return m.Attest
}
return nil
}
type AgentServiceResponse_Execute struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exitCode,proto3" json:"exitCode,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceResponse_Execute) Reset() { *m = AgentServiceResponse_Execute{} }
func (m *AgentServiceResponse_Execute) String() string { return proto.CompactTextString(m) }
func (*AgentServiceResponse_Execute) ProtoMessage() {}
func (*AgentServiceResponse_Execute) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{1, 0}
}
func (m *AgentServiceResponse_Execute) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceResponse_Execute.Unmarshal(m, b)
}
func (m *AgentServiceResponse_Execute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceResponse_Execute.Marshal(b, m, deterministic)
}
func (m *AgentServiceResponse_Execute) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceResponse_Execute.Merge(m, src)
}
func (m *AgentServiceResponse_Execute) XXX_Size() int {
return xxx_messageInfo_AgentServiceResponse_Execute.Size(m)
}
func (m *AgentServiceResponse_Execute) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceResponse_Execute.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceResponse_Execute proto.InternalMessageInfo
func (m *AgentServiceResponse_Execute) GetExitCode() int32 {
if m != nil {
return m.ExitCode
}
return 0
}
func (m *AgentServiceResponse_Execute) GetError() string {
if m != nil {
return m.Error
}
return ""
}
type AgentServiceResponse_Attest struct {
ExitCode int32 `protobuf:"varint,1,opt,name=exitCode,proto3" json:"exitCode,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AgentServiceResponse_Attest) Reset() { *m = AgentServiceResponse_Attest{} }
func (m *AgentServiceResponse_Attest) String() string { return proto.CompactTextString(m) }
func (*AgentServiceResponse_Attest) ProtoMessage() {}
func (*AgentServiceResponse_Attest) Descriptor() ([]byte, []int) {
return fileDescriptor_145c985d4df28d67, []int{1, 1}
}
func (m *AgentServiceResponse_Attest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AgentServiceResponse_Attest.Unmarshal(m, b)
}
func (m *AgentServiceResponse_Attest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AgentServiceResponse_Attest.Marshal(b, m, deterministic)
}
func (m *AgentServiceResponse_Attest) XXX_Merge(src proto.Message) {
xxx_messageInfo_AgentServiceResponse_Attest.Merge(m, src)
}
func (m *AgentServiceResponse_Attest) XXX_Size() int {
return xxx_messageInfo_AgentServiceResponse_Attest.Size(m)
}
func (m *AgentServiceResponse_Attest) XXX_DiscardUnknown() {
xxx_messageInfo_AgentServiceResponse_Attest.DiscardUnknown(m)
}
var xxx_messageInfo_AgentServiceResponse_Attest proto.InternalMessageInfo
func (m *AgentServiceResponse_Attest) GetExitCode() int32 {
if m != nil {
return m.ExitCode
}
return 0
}
func (m *AgentServiceResponse_Attest) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func init() {
proto.RegisterType((*AgentServiceRequest)(nil), "libenclave_proto.AgentServiceRequest")
proto.RegisterType((*AgentServiceRequest_Execute)(nil), "libenclave_proto.AgentServiceRequest.Execute")
proto.RegisterType((*AgentServiceRequest_Kill)(nil), "libenclave_proto.AgentServiceRequest.Kill")
proto.RegisterType((*AgentServiceRequest_Attest)(nil), "libenclave_proto.AgentServiceRequest.Attest")
proto.RegisterType((*AgentServiceResponse)(nil), "libenclave_proto.AgentServiceResponse")
proto.RegisterType((*AgentServiceResponse_Execute)(nil), "libenclave_proto.AgentServiceResponse.Execute")
proto.RegisterType((*AgentServiceResponse_Attest)(nil), "libenclave_proto.AgentServiceResponse.Attest")
}
func init() {
proto.RegisterFile("agent-service.proto", fileDescriptor_145c985d4df28d67)
}
var fileDescriptor_145c985d4df28d67 = []byte{
// 343 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0x69, 0x9b, 0xb6, 0x76, 0x44, 0x2c, 0xdb, 0x1e, 0x42, 0xf0, 0x20, 0x3d, 0x15, 0xb1,
0x01, 0xf5, 0xa6, 0x20, 0x54, 0xed, 0xa9, 0xb7, 0xd5, 0xbb, 0xa4, 0xe9, 0x50, 0x16, 0x43, 0x76,
0xbb, 0xbb, 0x09, 0xed, 0xc5, 0x07, 0xf1, 0x15, 0x7c, 0x49, 0xc9, 0x64, 0xdb, 0xd2, 0x20, 0x18,
0x6f, 0xb3, 0xb3, 0xf3, 0xfd, 0xfc, 0xf3, 0x0f, 0x0c, 0xa2, 0x15, 0xa6, 0x76, 0x62, 0x50, 0xe7,
0x22, 0xc6, 0x50, 0x69, 0x69, 0x25, 0xeb, 0x27, 0x62, 0x81, 0x69, 0x9c, 0x44, 0x39, 0xbe, 0x53,
0x67, 0xf4, 0xdd, 0x82, 0xc1, 0xb4, 0x98, 0x7c, 0x2d, 0x07, 0x39, 0xae, 0x33, 0x34, 0x96, 0x4d,
0xc1, 0xc3, 0x0d, 0xc6, 0x7e, 0xe3, 0xb2, 0x31, 0x3e, 0xbd, 0x9d, 0x84, 0x55, 0x30, 0xfc, 0x05,
0x0a, 0x67, 0x1b, 0x8c, 0x33, 0x8b, 0x9c, 0x50, 0xf6, 0x08, 0xde, 0x87, 0x48, 0x12, 0xbf, 0x49,
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1e, 0xef, 0x7e, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfa,
0xac, 0x2e, 0xf0, 0xfa, 0x02, 0x00, 0x00,
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册