aesm

package
v0.2200.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package aesm provides a client for AESMD.

Index

Constants

View Source
const (
	Default_Response_CloseSessionResponse_ErrorCode = uint32(1)
)

Default values for Response_CloseSessionResponse fields.

View Source
const (
	Default_Response_CreateSessionResponse_ErrorCode = uint32(1)
)

Default values for Response_CreateSessionResponse fields.

View Source
const (
	Default_Response_ExchangeReportResponse_ErrorCode = uint32(1)
)

Default values for Response_ExchangeReportResponse fields.

View Source
const (
	Default_Response_GetLaunchTokenResponse_ErrorCode = uint32(1)
)

Default values for Response_GetLaunchTokenResponse fields.

View Source
const (
	Default_Response_GetPsCapResponse_ErrorCode = uint32(1)
)

Default values for Response_GetPsCapResponse fields.

View Source
const (
	Default_Response_GetQuoteResponse_ErrorCode = uint32(1)
)

Default values for Response_GetQuoteResponse fields.

View Source
const (
	Default_Response_GetWhiteListResponse_ErrorCode = uint32(1)
)

Default values for Response_GetWhiteListResponse fields.

View Source
const (
	Default_Response_GetWhiteListSizeResponse_ErrorCode = uint32(1)
)

Default values for Response_GetWhiteListSizeResponse fields.

View Source
const (
	Default_Response_InitQuoteResponse_ErrorCode = uint32(1)
)

Default values for Response_InitQuoteResponse fields.

View Source
const (
	Default_Response_InvokeServiceResponse_ErrorCode = uint32(1)
)

Default values for Response_InvokeServiceResponse fields.

View Source
const (
	Default_Response_ReportAttestationErrorResponse_ErrorCode = uint32(1)
)

Default values for Response_ReportAttestationErrorResponse fields.

View Source
const (
	Default_Response_SGXGetExtendedEpidGroupIdResponse_ErrorCode = uint32(1)
)

Default values for Response_SGXGetExtendedEpidGroupIdResponse fields.

View Source
const (
	Default_Response_SGXSwitchExtendedEpidGroupResponse_ErrorCode = uint32(1)
)

Default values for Response_SGXSwitchExtendedEpidGroupResponse fields.

Variables

View Source
var File_aesm_proto_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is an AESM client.

func NewClient

func NewClient(path string) *Client

NewClient creates a new AESM client.

func (*Client) GetQuote

func (c *Client) GetQuote(
	ctx context.Context,
	report []byte,
	quoteType ias.SignatureType,
	spid ias.SPID,
	nonce []byte,
	sigRL []byte,
) ([]byte, error)

GetQuote retrieves the quote based on the provided report.

func (*Client) InitQuote

func (c *Client) InitQuote(ctx context.Context) (*QuoteInfo, error)

InitQuote retrieves the quote info required for generating a report that can be exchanged for a quote.

type QuoteInfo

type QuoteInfo struct {
	// TargetInfo is the target enclave info.
	TargetInfo []byte
	// GID is an EPID group ID.
	GID []byte
}

QuoteInfo is the quote information.

type Request

type Request struct {
	InitQuoteReq                  *Request_InitQuoteRequest                  `protobuf:"bytes,1,opt,name=initQuoteReq" json:"initQuoteReq,omitempty"`
	GetQuoteReq                   *Request_GetQuoteRequest                   `protobuf:"bytes,2,opt,name=getQuoteReq" json:"getQuoteReq,omitempty"`
	GetLicTokenReq                *Request_GetLaunchTokenRequest             `protobuf:"bytes,3,opt,name=getLicTokenReq" json:"getLicTokenReq,omitempty"`
	ReportErrReq                  *Request_ReportAttestationErrorRequest     `protobuf:"bytes,4,opt,name=reportErrReq" json:"reportErrReq,omitempty"`
	CreateSessionReq              *Request_CreateSessionRequest              `protobuf:"bytes,5,opt,name=createSessionReq" json:"createSessionReq,omitempty"`
	InvokeServiceReq              *Request_InvokeServiceRequest              `protobuf:"bytes,6,opt,name=invokeServiceReq" json:"invokeServiceReq,omitempty"`
	ExchangeReportReq             *Request_ExchangeReportRequest             `protobuf:"bytes,7,opt,name=exchangeReportReq" json:"exchangeReportReq,omitempty"`
	CloseSessionReq               *Request_CloseSessionRequest               `protobuf:"bytes,8,opt,name=closeSessionReq" json:"closeSessionReq,omitempty"`
	GetPsCapReq                   *Request_GetPsCapRequest                   `protobuf:"bytes,9,opt,name=getPsCapReq" json:"getPsCapReq,omitempty"`
	GetWhiteListSizeReq           *Request_GetWhiteListSizeRequest           `protobuf:"bytes,10,opt,name=getWhiteListSizeReq" json:"getWhiteListSizeReq,omitempty"`
	GetWhiteListReq               *Request_GetWhiteListRequest               `protobuf:"bytes,11,opt,name=getWhiteListReq" json:"getWhiteListReq,omitempty"`
	SgxGetExtendedEpidGroupIdReq  *Request_SGXGetExtendedEpidGroupIdRequest  `protobuf:"bytes,12,opt,name=sgxGetExtendedEpidGroupIdReq" json:"sgxGetExtendedEpidGroupIdReq,omitempty"`
	SgxSwitchExtendedEpidGroupReq *Request_SGXSwitchExtendedEpidGroupRequest `protobuf:"bytes,13,opt,name=sgxSwitchExtendedEpidGroupReq" json:"sgxSwitchExtendedEpidGroupReq,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetCloseSessionReq

func (x *Request) GetCloseSessionReq() *Request_CloseSessionRequest

func (*Request) GetCreateSessionReq

func (x *Request) GetCreateSessionReq() *Request_CreateSessionRequest

func (*Request) GetExchangeReportReq

func (x *Request) GetExchangeReportReq() *Request_ExchangeReportRequest

func (*Request) GetGetLicTokenReq

func (x *Request) GetGetLicTokenReq() *Request_GetLaunchTokenRequest

func (*Request) GetGetPsCapReq

func (x *Request) GetGetPsCapReq() *Request_GetPsCapRequest

func (*Request) GetGetQuoteReq

func (x *Request) GetGetQuoteReq() *Request_GetQuoteRequest

func (*Request) GetGetWhiteListReq

func (x *Request) GetGetWhiteListReq() *Request_GetWhiteListRequest

func (*Request) GetGetWhiteListSizeReq

func (x *Request) GetGetWhiteListSizeReq() *Request_GetWhiteListSizeRequest

func (*Request) GetInitQuoteReq

func (x *Request) GetInitQuoteReq() *Request_InitQuoteRequest

func (*Request) GetInvokeServiceReq

func (x *Request) GetInvokeServiceReq() *Request_InvokeServiceRequest

func (*Request) GetReportErrReq

func (x *Request) GetReportErrReq() *Request_ReportAttestationErrorRequest

func (*Request) GetSgxGetExtendedEpidGroupIdReq

func (x *Request) GetSgxGetExtendedEpidGroupIdReq() *Request_SGXGetExtendedEpidGroupIdRequest

func (*Request) GetSgxSwitchExtendedEpidGroupReq

func (x *Request) GetSgxSwitchExtendedEpidGroupReq() *Request_SGXSwitchExtendedEpidGroupRequest

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_CloseSessionRequest

type Request_CloseSessionRequest struct {
	SessionId *uint32 `protobuf:"varint,1,req,name=session_id,json=sessionId" json:"session_id,omitempty"`
	Timeout   *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_CloseSessionRequest) Descriptor deprecated

func (*Request_CloseSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_CloseSessionRequest.ProtoReflect.Descriptor instead.

func (*Request_CloseSessionRequest) GetSessionId

func (x *Request_CloseSessionRequest) GetSessionId() uint32

func (*Request_CloseSessionRequest) GetTimeout

func (x *Request_CloseSessionRequest) GetTimeout() uint32

func (*Request_CloseSessionRequest) ProtoMessage

func (*Request_CloseSessionRequest) ProtoMessage()

func (*Request_CloseSessionRequest) ProtoReflect

func (*Request_CloseSessionRequest) Reset

func (x *Request_CloseSessionRequest) Reset()

func (*Request_CloseSessionRequest) String

func (x *Request_CloseSessionRequest) String() string

type Request_CreateSessionRequest

type Request_CreateSessionRequest struct {
	DhMsg1Size *uint32 `protobuf:"varint,1,req,name=dh_msg1_size,json=dhMsg1Size" json:"dh_msg1_size,omitempty"`
	Timeout    *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

private API

func (*Request_CreateSessionRequest) Descriptor deprecated

func (*Request_CreateSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_CreateSessionRequest.ProtoReflect.Descriptor instead.

func (*Request_CreateSessionRequest) GetDhMsg1Size

func (x *Request_CreateSessionRequest) GetDhMsg1Size() uint32

func (*Request_CreateSessionRequest) GetTimeout

func (x *Request_CreateSessionRequest) GetTimeout() uint32

func (*Request_CreateSessionRequest) ProtoMessage

func (*Request_CreateSessionRequest) ProtoMessage()

func (*Request_CreateSessionRequest) ProtoReflect

func (*Request_CreateSessionRequest) Reset

func (x *Request_CreateSessionRequest) Reset()

func (*Request_CreateSessionRequest) String

type Request_ExchangeReportRequest

type Request_ExchangeReportRequest struct {
	SessionId    *uint32 `protobuf:"varint,1,req,name=session_id,json=sessionId" json:"session_id,omitempty"`
	SeDhMsg2     []byte  `protobuf:"bytes,2,req,name=se_dh_msg2,json=seDhMsg2" json:"se_dh_msg2,omitempty"`
	SeDhMsg3Size *uint32 `protobuf:"varint,3,req,name=se_dh_msg3_size,json=seDhMsg3Size" json:"se_dh_msg3_size,omitempty"`
	Timeout      *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_ExchangeReportRequest) Descriptor deprecated

func (*Request_ExchangeReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_ExchangeReportRequest.ProtoReflect.Descriptor instead.

func (*Request_ExchangeReportRequest) GetSeDhMsg2

func (x *Request_ExchangeReportRequest) GetSeDhMsg2() []byte

func (*Request_ExchangeReportRequest) GetSeDhMsg3Size

func (x *Request_ExchangeReportRequest) GetSeDhMsg3Size() uint32

func (*Request_ExchangeReportRequest) GetSessionId

func (x *Request_ExchangeReportRequest) GetSessionId() uint32

func (*Request_ExchangeReportRequest) GetTimeout

func (x *Request_ExchangeReportRequest) GetTimeout() uint32

func (*Request_ExchangeReportRequest) ProtoMessage

func (*Request_ExchangeReportRequest) ProtoMessage()

func (*Request_ExchangeReportRequest) ProtoReflect

func (*Request_ExchangeReportRequest) Reset

func (x *Request_ExchangeReportRequest) Reset()

func (*Request_ExchangeReportRequest) String

type Request_GetLaunchTokenRequest

type Request_GetLaunchTokenRequest struct {
	MrEnclave    []byte  `protobuf:"bytes,1,req,name=mr_enclave,json=mrEnclave" json:"mr_enclave,omitempty"`
	MrSigner     []byte  `protobuf:"bytes,2,req,name=mr_signer,json=mrSigner" json:"mr_signer,omitempty"`
	SeAttributes []byte  `protobuf:"bytes,3,req,name=se_attributes,json=seAttributes" json:"se_attributes,omitempty"`
	Timeout      *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_GetLaunchTokenRequest) Descriptor deprecated

func (*Request_GetLaunchTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_GetLaunchTokenRequest.ProtoReflect.Descriptor instead.

func (*Request_GetLaunchTokenRequest) GetMrEnclave

func (x *Request_GetLaunchTokenRequest) GetMrEnclave() []byte

func (*Request_GetLaunchTokenRequest) GetMrSigner

func (x *Request_GetLaunchTokenRequest) GetMrSigner() []byte

func (*Request_GetLaunchTokenRequest) GetSeAttributes

func (x *Request_GetLaunchTokenRequest) GetSeAttributes() []byte

func (*Request_GetLaunchTokenRequest) GetTimeout

func (x *Request_GetLaunchTokenRequest) GetTimeout() uint32

func (*Request_GetLaunchTokenRequest) ProtoMessage

func (*Request_GetLaunchTokenRequest) ProtoMessage()

func (*Request_GetLaunchTokenRequest) ProtoReflect

func (*Request_GetLaunchTokenRequest) Reset

func (x *Request_GetLaunchTokenRequest) Reset()

func (*Request_GetLaunchTokenRequest) String

type Request_GetPsCapRequest

type Request_GetPsCapRequest struct {
	Timeout *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_GetPsCapRequest) Descriptor deprecated

func (*Request_GetPsCapRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_GetPsCapRequest.ProtoReflect.Descriptor instead.

func (*Request_GetPsCapRequest) GetTimeout

func (x *Request_GetPsCapRequest) GetTimeout() uint32

func (*Request_GetPsCapRequest) ProtoMessage

func (*Request_GetPsCapRequest) ProtoMessage()

func (*Request_GetPsCapRequest) ProtoReflect

func (x *Request_GetPsCapRequest) ProtoReflect() protoreflect.Message

func (*Request_GetPsCapRequest) Reset

func (x *Request_GetPsCapRequest) Reset()

func (*Request_GetPsCapRequest) String

func (x *Request_GetPsCapRequest) String() string

type Request_GetQuoteRequest

type Request_GetQuoteRequest struct {
	Report    []byte  `protobuf:"bytes,1,req,name=report" json:"report,omitempty"`
	QuoteType *uint32 `protobuf:"varint,2,req,name=quote_type,json=quoteType" json:"quote_type,omitempty"`
	Spid      []byte  `protobuf:"bytes,3,req,name=spid" json:"spid,omitempty"`
	Nonce     []byte  `protobuf:"bytes,4,opt,name=nonce" json:"nonce,omitempty"`
	SigRl     []byte  `protobuf:"bytes,5,opt,name=sig_rl,json=sigRl" json:"sig_rl,omitempty"`
	BufSize   *uint32 `protobuf:"varint,6,req,name=buf_size,json=bufSize" json:"buf_size,omitempty"`
	QeReport  *bool   `protobuf:"varint,7,opt,name=qe_report,json=qeReport" json:"qe_report,omitempty"`
	Timeout   *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_GetQuoteRequest) Descriptor deprecated

func (*Request_GetQuoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_GetQuoteRequest.ProtoReflect.Descriptor instead.

func (*Request_GetQuoteRequest) GetBufSize

func (x *Request_GetQuoteRequest) GetBufSize() uint32

func (*Request_GetQuoteRequest) GetNonce

func (x *Request_GetQuoteRequest) GetNonce() []byte

func (*Request_GetQuoteRequest) GetQeReport

func (x *Request_GetQuoteRequest) GetQeReport() bool

func (*Request_GetQuoteRequest) GetQuoteType

func (x *Request_GetQuoteRequest) GetQuoteType() uint32

func (*Request_GetQuoteRequest) GetReport

func (x *Request_GetQuoteRequest) GetReport() []byte

func (*Request_GetQuoteRequest) GetSigRl

func (x *Request_GetQuoteRequest) GetSigRl() []byte

func (*Request_GetQuoteRequest) GetSpid

func (x *Request_GetQuoteRequest) GetSpid() []byte

func (*Request_GetQuoteRequest) GetTimeout

func (x *Request_GetQuoteRequest) GetTimeout() uint32

func (*Request_GetQuoteRequest) ProtoMessage

func (*Request_GetQuoteRequest) ProtoMessage()

func (*Request_GetQuoteRequest) ProtoReflect

func (x *Request_GetQuoteRequest) ProtoReflect() protoreflect.Message

func (*Request_GetQuoteRequest) Reset

func (x *Request_GetQuoteRequest) Reset()

func (*Request_GetQuoteRequest) String

func (x *Request_GetQuoteRequest) String() string

type Request_GetWhiteListRequest

type Request_GetWhiteListRequest struct {
	WhiteListSize *uint32 `protobuf:"varint,1,opt,name=white_list_size,json=whiteListSize" json:"white_list_size,omitempty"`
	Timeout       *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_GetWhiteListRequest) Descriptor deprecated

func (*Request_GetWhiteListRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_GetWhiteListRequest.ProtoReflect.Descriptor instead.

func (*Request_GetWhiteListRequest) GetTimeout

func (x *Request_GetWhiteListRequest) GetTimeout() uint32

func (*Request_GetWhiteListRequest) GetWhiteListSize

func (x *Request_GetWhiteListRequest) GetWhiteListSize() uint32

func (*Request_GetWhiteListRequest) ProtoMessage

func (*Request_GetWhiteListRequest) ProtoMessage()

func (*Request_GetWhiteListRequest) ProtoReflect

func (*Request_GetWhiteListRequest) Reset

func (x *Request_GetWhiteListRequest) Reset()

func (*Request_GetWhiteListRequest) String

func (x *Request_GetWhiteListRequest) String() string

type Request_GetWhiteListSizeRequest

type Request_GetWhiteListSizeRequest struct {
	Timeout *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_GetWhiteListSizeRequest) Descriptor deprecated

func (*Request_GetWhiteListSizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_GetWhiteListSizeRequest.ProtoReflect.Descriptor instead.

func (*Request_GetWhiteListSizeRequest) GetTimeout

func (x *Request_GetWhiteListSizeRequest) GetTimeout() uint32

func (*Request_GetWhiteListSizeRequest) ProtoMessage

func (*Request_GetWhiteListSizeRequest) ProtoMessage()

func (*Request_GetWhiteListSizeRequest) ProtoReflect

func (*Request_GetWhiteListSizeRequest) Reset

func (*Request_GetWhiteListSizeRequest) String

type Request_InitQuoteRequest

type Request_InitQuoteRequest struct {
	Timeout *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_InitQuoteRequest) Descriptor deprecated

func (*Request_InitQuoteRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_InitQuoteRequest.ProtoReflect.Descriptor instead.

func (*Request_InitQuoteRequest) GetTimeout

func (x *Request_InitQuoteRequest) GetTimeout() uint32

func (*Request_InitQuoteRequest) ProtoMessage

func (*Request_InitQuoteRequest) ProtoMessage()

func (*Request_InitQuoteRequest) ProtoReflect

func (x *Request_InitQuoteRequest) ProtoReflect() protoreflect.Message

func (*Request_InitQuoteRequest) Reset

func (x *Request_InitQuoteRequest) Reset()

func (*Request_InitQuoteRequest) String

func (x *Request_InitQuoteRequest) String() string

type Request_InvokeServiceRequest

type Request_InvokeServiceRequest struct {
	PseMessage  []byte  `protobuf:"bytes,1,req,name=pse_message,json=pseMessage" json:"pse_message,omitempty"`
	PseRespSize *uint32 `protobuf:"varint,2,req,name=pse_resp_size,json=pseRespSize" json:"pse_resp_size,omitempty"`
	Timeout     *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_InvokeServiceRequest) Descriptor deprecated

func (*Request_InvokeServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_InvokeServiceRequest.ProtoReflect.Descriptor instead.

func (*Request_InvokeServiceRequest) GetPseMessage

func (x *Request_InvokeServiceRequest) GetPseMessage() []byte

func (*Request_InvokeServiceRequest) GetPseRespSize

func (x *Request_InvokeServiceRequest) GetPseRespSize() uint32

func (*Request_InvokeServiceRequest) GetTimeout

func (x *Request_InvokeServiceRequest) GetTimeout() uint32

func (*Request_InvokeServiceRequest) ProtoMessage

func (*Request_InvokeServiceRequest) ProtoMessage()

func (*Request_InvokeServiceRequest) ProtoReflect

func (*Request_InvokeServiceRequest) Reset

func (x *Request_InvokeServiceRequest) Reset()

func (*Request_InvokeServiceRequest) String

type Request_ReportAttestationErrorRequest

type Request_ReportAttestationErrorRequest struct {
	PlatformInfo         []byte  `protobuf:"bytes,1,req,name=platform_info,json=platformInfo" json:"platform_info,omitempty"`
	AttestationErrorCode *uint32 `protobuf:"varint,2,req,name=attestation_error_code,json=attestationErrorCode" json:"attestation_error_code,omitempty"`
	UpdateInfoSize       *uint32 `protobuf:"varint,3,req,name=update_info_size,json=updateInfoSize" json:"update_info_size,omitempty"`
	Timeout              *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_ReportAttestationErrorRequest) Descriptor deprecated

func (*Request_ReportAttestationErrorRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_ReportAttestationErrorRequest.ProtoReflect.Descriptor instead.

func (*Request_ReportAttestationErrorRequest) GetAttestationErrorCode

func (x *Request_ReportAttestationErrorRequest) GetAttestationErrorCode() uint32

func (*Request_ReportAttestationErrorRequest) GetPlatformInfo

func (x *Request_ReportAttestationErrorRequest) GetPlatformInfo() []byte

func (*Request_ReportAttestationErrorRequest) GetTimeout

func (*Request_ReportAttestationErrorRequest) GetUpdateInfoSize

func (x *Request_ReportAttestationErrorRequest) GetUpdateInfoSize() uint32

func (*Request_ReportAttestationErrorRequest) ProtoMessage

func (*Request_ReportAttestationErrorRequest) ProtoMessage()

func (*Request_ReportAttestationErrorRequest) ProtoReflect

func (*Request_ReportAttestationErrorRequest) Reset

func (*Request_ReportAttestationErrorRequest) String

type Request_SGXGetExtendedEpidGroupIdRequest

type Request_SGXGetExtendedEpidGroupIdRequest struct {
	Timeout *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_SGXGetExtendedEpidGroupIdRequest) Descriptor deprecated

func (*Request_SGXGetExtendedEpidGroupIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_SGXGetExtendedEpidGroupIdRequest.ProtoReflect.Descriptor instead.

func (*Request_SGXGetExtendedEpidGroupIdRequest) GetTimeout

func (*Request_SGXGetExtendedEpidGroupIdRequest) ProtoMessage

func (*Request_SGXGetExtendedEpidGroupIdRequest) ProtoReflect

func (*Request_SGXGetExtendedEpidGroupIdRequest) Reset

func (*Request_SGXGetExtendedEpidGroupIdRequest) String

type Request_SGXSwitchExtendedEpidGroupRequest

type Request_SGXSwitchExtendedEpidGroupRequest struct {
	XGroupId *uint32 `protobuf:"varint,1,opt,name=x_group_id,json=xGroupId" json:"x_group_id,omitempty"`
	Timeout  *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_SGXSwitchExtendedEpidGroupRequest) Descriptor deprecated

func (*Request_SGXSwitchExtendedEpidGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use Request_SGXSwitchExtendedEpidGroupRequest.ProtoReflect.Descriptor instead.

func (*Request_SGXSwitchExtendedEpidGroupRequest) GetTimeout

func (*Request_SGXSwitchExtendedEpidGroupRequest) GetXGroupId

func (*Request_SGXSwitchExtendedEpidGroupRequest) ProtoMessage

func (*Request_SGXSwitchExtendedEpidGroupRequest) ProtoReflect

func (*Request_SGXSwitchExtendedEpidGroupRequest) Reset

func (*Request_SGXSwitchExtendedEpidGroupRequest) String

type Response

type Response struct {
	InitQuoteRes                  *Response_InitQuoteResponse                  `protobuf:"bytes,1,opt,name=initQuoteRes" json:"initQuoteRes,omitempty"`
	GetQuoteRes                   *Response_GetQuoteResponse                   `protobuf:"bytes,2,opt,name=getQuoteRes" json:"getQuoteRes,omitempty"`
	GetLicTokenRes                *Response_GetLaunchTokenResponse             `protobuf:"bytes,3,opt,name=getLicTokenRes" json:"getLicTokenRes,omitempty"`
	ReportErrRes                  *Response_ReportAttestationErrorResponse     `protobuf:"bytes,4,opt,name=reportErrRes" json:"reportErrRes,omitempty"`
	CreateSessionRes              *Response_CreateSessionResponse              `protobuf:"bytes,5,opt,name=createSessionRes" json:"createSessionRes,omitempty"`
	InvokeServiceRes              *Response_InvokeServiceResponse              `protobuf:"bytes,6,opt,name=invokeServiceRes" json:"invokeServiceRes,omitempty"`
	ExchangeReportRes             *Response_ExchangeReportResponse             `protobuf:"bytes,7,opt,name=exchangeReportRes" json:"exchangeReportRes,omitempty"`
	CloseSessionRes               *Response_CloseSessionResponse               `protobuf:"bytes,8,opt,name=closeSessionRes" json:"closeSessionRes,omitempty"`
	GetPsCapRes                   *Response_GetPsCapResponse                   `protobuf:"bytes,9,opt,name=getPsCapRes" json:"getPsCapRes,omitempty"`
	GetWhiteListSizeRes           *Response_GetWhiteListSizeResponse           `protobuf:"bytes,10,opt,name=getWhiteListSizeRes" json:"getWhiteListSizeRes,omitempty"`
	GetWhiteListRes               *Response_GetWhiteListResponse               `protobuf:"bytes,11,opt,name=getWhiteListRes" json:"getWhiteListRes,omitempty"`
	SgxGetExtendedEpidGroupIdRes  *Response_SGXGetExtendedEpidGroupIdResponse  `protobuf:"bytes,12,opt,name=sgxGetExtendedEpidGroupIdRes" json:"sgxGetExtendedEpidGroupIdRes,omitempty"`
	SgxSwitchExtendedEpidGroupRes *Response_SGXSwitchExtendedEpidGroupResponse `protobuf:"bytes,13,opt,name=sgxSwitchExtendedEpidGroupRes" json:"sgxSwitchExtendedEpidGroupRes,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCloseSessionRes

func (x *Response) GetCloseSessionRes() *Response_CloseSessionResponse

func (*Response) GetCreateSessionRes

func (x *Response) GetCreateSessionRes() *Response_CreateSessionResponse

func (*Response) GetExchangeReportRes

func (x *Response) GetExchangeReportRes() *Response_ExchangeReportResponse

func (*Response) GetGetLicTokenRes

func (x *Response) GetGetLicTokenRes() *Response_GetLaunchTokenResponse

func (*Response) GetGetPsCapRes

func (x *Response) GetGetPsCapRes() *Response_GetPsCapResponse

func (*Response) GetGetQuoteRes

func (x *Response) GetGetQuoteRes() *Response_GetQuoteResponse

func (*Response) GetGetWhiteListRes

func (x *Response) GetGetWhiteListRes() *Response_GetWhiteListResponse

func (*Response) GetGetWhiteListSizeRes

func (x *Response) GetGetWhiteListSizeRes() *Response_GetWhiteListSizeResponse

func (*Response) GetInitQuoteRes

func (x *Response) GetInitQuoteRes() *Response_InitQuoteResponse

func (*Response) GetInvokeServiceRes

func (x *Response) GetInvokeServiceRes() *Response_InvokeServiceResponse

func (*Response) GetReportErrRes

func (x *Response) GetReportErrRes() *Response_ReportAttestationErrorResponse

func (*Response) GetSgxGetExtendedEpidGroupIdRes

func (x *Response) GetSgxGetExtendedEpidGroupIdRes() *Response_SGXGetExtendedEpidGroupIdResponse

func (*Response) GetSgxSwitchExtendedEpidGroupRes

func (x *Response) GetSgxSwitchExtendedEpidGroupRes() *Response_SGXSwitchExtendedEpidGroupResponse

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type Response_CloseSessionResponse

type Response_CloseSessionResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_CloseSessionResponse) Descriptor deprecated

func (*Response_CloseSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_CloseSessionResponse.ProtoReflect.Descriptor instead.

func (*Response_CloseSessionResponse) GetErrorCode

func (x *Response_CloseSessionResponse) GetErrorCode() uint32

func (*Response_CloseSessionResponse) ProtoMessage

func (*Response_CloseSessionResponse) ProtoMessage()

func (*Response_CloseSessionResponse) ProtoReflect

func (*Response_CloseSessionResponse) Reset

func (x *Response_CloseSessionResponse) Reset()

func (*Response_CloseSessionResponse) String

type Response_CreateSessionResponse

type Response_CreateSessionResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	SessionId *uint32 `protobuf:"varint,2,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	SeDhMsg1  []byte  `protobuf:"bytes,3,opt,name=se_dh_msg1,json=seDhMsg1" json:"se_dh_msg1,omitempty"`
	// contains filtered or unexported fields
}

private API

func (*Response_CreateSessionResponse) Descriptor deprecated

func (*Response_CreateSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*Response_CreateSessionResponse) GetErrorCode

func (x *Response_CreateSessionResponse) GetErrorCode() uint32

func (*Response_CreateSessionResponse) GetSeDhMsg1

func (x *Response_CreateSessionResponse) GetSeDhMsg1() []byte

func (*Response_CreateSessionResponse) GetSessionId

func (x *Response_CreateSessionResponse) GetSessionId() uint32

func (*Response_CreateSessionResponse) ProtoMessage

func (*Response_CreateSessionResponse) ProtoMessage()

func (*Response_CreateSessionResponse) ProtoReflect

func (*Response_CreateSessionResponse) Reset

func (x *Response_CreateSessionResponse) Reset()

func (*Response_CreateSessionResponse) String

type Response_ExchangeReportResponse

type Response_ExchangeReportResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	SeDhMsg3  []byte  `protobuf:"bytes,2,opt,name=se_dh_msg3,json=seDhMsg3" json:"se_dh_msg3,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_ExchangeReportResponse) Descriptor deprecated

func (*Response_ExchangeReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_ExchangeReportResponse.ProtoReflect.Descriptor instead.

func (*Response_ExchangeReportResponse) GetErrorCode

func (x *Response_ExchangeReportResponse) GetErrorCode() uint32

func (*Response_ExchangeReportResponse) GetSeDhMsg3

func (x *Response_ExchangeReportResponse) GetSeDhMsg3() []byte

func (*Response_ExchangeReportResponse) ProtoMessage

func (*Response_ExchangeReportResponse) ProtoMessage()

func (*Response_ExchangeReportResponse) ProtoReflect

func (*Response_ExchangeReportResponse) Reset

func (*Response_ExchangeReportResponse) String

type Response_GetLaunchTokenResponse

type Response_GetLaunchTokenResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	Token     []byte  `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_GetLaunchTokenResponse) Descriptor deprecated

func (*Response_GetLaunchTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_GetLaunchTokenResponse.ProtoReflect.Descriptor instead.

func (*Response_GetLaunchTokenResponse) GetErrorCode

func (x *Response_GetLaunchTokenResponse) GetErrorCode() uint32

func (*Response_GetLaunchTokenResponse) GetToken

func (x *Response_GetLaunchTokenResponse) GetToken() []byte

func (*Response_GetLaunchTokenResponse) ProtoMessage

func (*Response_GetLaunchTokenResponse) ProtoMessage()

func (*Response_GetLaunchTokenResponse) ProtoReflect

func (*Response_GetLaunchTokenResponse) Reset

func (*Response_GetLaunchTokenResponse) String

type Response_GetPsCapResponse

type Response_GetPsCapResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	PsCap     *uint64 `protobuf:"varint,2,opt,name=ps_cap,json=psCap" json:"ps_cap,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_GetPsCapResponse) Descriptor deprecated

func (*Response_GetPsCapResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_GetPsCapResponse.ProtoReflect.Descriptor instead.

func (*Response_GetPsCapResponse) GetErrorCode

func (x *Response_GetPsCapResponse) GetErrorCode() uint32

func (*Response_GetPsCapResponse) GetPsCap

func (x *Response_GetPsCapResponse) GetPsCap() uint64

func (*Response_GetPsCapResponse) ProtoMessage

func (*Response_GetPsCapResponse) ProtoMessage()

func (*Response_GetPsCapResponse) ProtoReflect

func (*Response_GetPsCapResponse) Reset

func (x *Response_GetPsCapResponse) Reset()

func (*Response_GetPsCapResponse) String

func (x *Response_GetPsCapResponse) String() string

type Response_GetQuoteResponse

type Response_GetQuoteResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	Quote     []byte  `protobuf:"bytes,2,opt,name=quote" json:"quote,omitempty"`
	QeReport  []byte  `protobuf:"bytes,3,opt,name=qe_report,json=qeReport" json:"qe_report,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_GetQuoteResponse) Descriptor deprecated

func (*Response_GetQuoteResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_GetQuoteResponse.ProtoReflect.Descriptor instead.

func (*Response_GetQuoteResponse) GetErrorCode

func (x *Response_GetQuoteResponse) GetErrorCode() uint32

func (*Response_GetQuoteResponse) GetQeReport

func (x *Response_GetQuoteResponse) GetQeReport() []byte

func (*Response_GetQuoteResponse) GetQuote

func (x *Response_GetQuoteResponse) GetQuote() []byte

func (*Response_GetQuoteResponse) ProtoMessage

func (*Response_GetQuoteResponse) ProtoMessage()

func (*Response_GetQuoteResponse) ProtoReflect

func (*Response_GetQuoteResponse) Reset

func (x *Response_GetQuoteResponse) Reset()

func (*Response_GetQuoteResponse) String

func (x *Response_GetQuoteResponse) String() string

type Response_GetWhiteListResponse

type Response_GetWhiteListResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	WhiteList []byte  `protobuf:"bytes,2,opt,name=white_list,json=whiteList" json:"white_list,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_GetWhiteListResponse) Descriptor deprecated

func (*Response_GetWhiteListResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_GetWhiteListResponse.ProtoReflect.Descriptor instead.

func (*Response_GetWhiteListResponse) GetErrorCode

func (x *Response_GetWhiteListResponse) GetErrorCode() uint32

func (*Response_GetWhiteListResponse) GetWhiteList

func (x *Response_GetWhiteListResponse) GetWhiteList() []byte

func (*Response_GetWhiteListResponse) ProtoMessage

func (*Response_GetWhiteListResponse) ProtoMessage()

func (*Response_GetWhiteListResponse) ProtoReflect

func (*Response_GetWhiteListResponse) Reset

func (x *Response_GetWhiteListResponse) Reset()

func (*Response_GetWhiteListResponse) String

type Response_GetWhiteListSizeResponse

type Response_GetWhiteListSizeResponse struct {
	ErrorCode     *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	WhiteListSize *uint32 `protobuf:"varint,2,opt,name=white_list_size,json=whiteListSize" json:"white_list_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_GetWhiteListSizeResponse) Descriptor deprecated

func (*Response_GetWhiteListSizeResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_GetWhiteListSizeResponse.ProtoReflect.Descriptor instead.

func (*Response_GetWhiteListSizeResponse) GetErrorCode

func (x *Response_GetWhiteListSizeResponse) GetErrorCode() uint32

func (*Response_GetWhiteListSizeResponse) GetWhiteListSize

func (x *Response_GetWhiteListSizeResponse) GetWhiteListSize() uint32

func (*Response_GetWhiteListSizeResponse) ProtoMessage

func (*Response_GetWhiteListSizeResponse) ProtoMessage()

func (*Response_GetWhiteListSizeResponse) ProtoReflect

func (*Response_GetWhiteListSizeResponse) Reset

func (*Response_GetWhiteListSizeResponse) String

type Response_InitQuoteResponse

type Response_InitQuoteResponse struct {
	ErrorCode  *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	TargetInfo []byte  `protobuf:"bytes,2,opt,name=targetInfo" json:"targetInfo,omitempty"`
	Gid        []byte  `protobuf:"bytes,3,opt,name=gid" json:"gid,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_InitQuoteResponse) Descriptor deprecated

func (*Response_InitQuoteResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_InitQuoteResponse.ProtoReflect.Descriptor instead.

func (*Response_InitQuoteResponse) GetErrorCode

func (x *Response_InitQuoteResponse) GetErrorCode() uint32

func (*Response_InitQuoteResponse) GetGid

func (x *Response_InitQuoteResponse) GetGid() []byte

func (*Response_InitQuoteResponse) GetTargetInfo

func (x *Response_InitQuoteResponse) GetTargetInfo() []byte

func (*Response_InitQuoteResponse) ProtoMessage

func (*Response_InitQuoteResponse) ProtoMessage()

func (*Response_InitQuoteResponse) ProtoReflect

func (*Response_InitQuoteResponse) Reset

func (x *Response_InitQuoteResponse) Reset()

func (*Response_InitQuoteResponse) String

func (x *Response_InitQuoteResponse) String() string

type Response_InvokeServiceResponse

type Response_InvokeServiceResponse struct {
	ErrorCode  *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	PseMessage []byte  `protobuf:"bytes,2,opt,name=pse_message,json=pseMessage" json:"pse_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_InvokeServiceResponse) Descriptor deprecated

func (*Response_InvokeServiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_InvokeServiceResponse.ProtoReflect.Descriptor instead.

func (*Response_InvokeServiceResponse) GetErrorCode

func (x *Response_InvokeServiceResponse) GetErrorCode() uint32

func (*Response_InvokeServiceResponse) GetPseMessage

func (x *Response_InvokeServiceResponse) GetPseMessage() []byte

func (*Response_InvokeServiceResponse) ProtoMessage

func (*Response_InvokeServiceResponse) ProtoMessage()

func (*Response_InvokeServiceResponse) ProtoReflect

func (*Response_InvokeServiceResponse) Reset

func (x *Response_InvokeServiceResponse) Reset()

func (*Response_InvokeServiceResponse) String

type Response_ReportAttestationErrorResponse

type Response_ReportAttestationErrorResponse struct {
	ErrorCode          *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	PlatformUpdateInfo []byte  `protobuf:"bytes,2,opt,name=platform_update_info,json=platformUpdateInfo" json:"platform_update_info,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_ReportAttestationErrorResponse) Descriptor deprecated

func (*Response_ReportAttestationErrorResponse) Descriptor() ([]byte, []int)

Deprecated: Use Response_ReportAttestationErrorResponse.ProtoReflect.Descriptor instead.

func (*Response_ReportAttestationErrorResponse) GetErrorCode

func (*Response_ReportAttestationErrorResponse) GetPlatformUpdateInfo

func (x *Response_ReportAttestationErrorResponse) GetPlatformUpdateInfo() []byte

func (*Response_ReportAttestationErrorResponse) ProtoMessage

func (*Response_ReportAttestationErrorResponse) ProtoReflect

func (*Response_ReportAttestationErrorResponse) Reset

func (*Response_ReportAttestationErrorResponse) String

type Response_SGXGetExtendedEpidGroupIdResponse

type Response_SGXGetExtendedEpidGroupIdResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	XGroupId  *uint32 `protobuf:"varint,2,opt,name=x_group_id,json=xGroupId" json:"x_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_SGXGetExtendedEpidGroupIdResponse) Descriptor deprecated

Deprecated: Use Response_SGXGetExtendedEpidGroupIdResponse.ProtoReflect.Descriptor instead.

func (*Response_SGXGetExtendedEpidGroupIdResponse) GetErrorCode

func (*Response_SGXGetExtendedEpidGroupIdResponse) GetXGroupId

func (*Response_SGXGetExtendedEpidGroupIdResponse) ProtoMessage

func (*Response_SGXGetExtendedEpidGroupIdResponse) ProtoReflect

func (*Response_SGXGetExtendedEpidGroupIdResponse) Reset

func (*Response_SGXGetExtendedEpidGroupIdResponse) String

type Response_SGXSwitchExtendedEpidGroupResponse

type Response_SGXSwitchExtendedEpidGroupResponse struct {
	ErrorCode *uint32 `protobuf:"varint,1,req,name=errorCode,def=1" json:"errorCode,omitempty"`
	// contains filtered or unexported fields
}

func (*Response_SGXSwitchExtendedEpidGroupResponse) Descriptor deprecated

Deprecated: Use Response_SGXSwitchExtendedEpidGroupResponse.ProtoReflect.Descriptor instead.

func (*Response_SGXSwitchExtendedEpidGroupResponse) GetErrorCode

func (*Response_SGXSwitchExtendedEpidGroupResponse) ProtoMessage

func (*Response_SGXSwitchExtendedEpidGroupResponse) ProtoReflect

func (*Response_SGXSwitchExtendedEpidGroupResponse) Reset

func (*Response_SGXSwitchExtendedEpidGroupResponse) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL