enclave

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterQueryServer

func RegisterQueryServer(s *grpc.Server, srv QueryServer)

Types

type QueryAttestedVerificationReportRequest

type QueryAttestedVerificationReportRequest struct {
}

func (*QueryAttestedVerificationReportRequest) Descriptor

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

func (*QueryAttestedVerificationReportRequest) Marshal

func (m *QueryAttestedVerificationReportRequest) Marshal() (dAtA []byte, err error)

func (*QueryAttestedVerificationReportRequest) MarshalTo

func (m *QueryAttestedVerificationReportRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAttestedVerificationReportRequest) MarshalToSizedBuffer

func (m *QueryAttestedVerificationReportRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAttestedVerificationReportRequest) ProtoMessage

func (*QueryAttestedVerificationReportRequest) Reset

func (*QueryAttestedVerificationReportRequest) Size

func (*QueryAttestedVerificationReportRequest) String

func (*QueryAttestedVerificationReportRequest) Unmarshal

func (m *QueryAttestedVerificationReportRequest) Unmarshal(dAtA []byte) error

func (*QueryAttestedVerificationReportRequest) XXX_DiscardUnknown

func (m *QueryAttestedVerificationReportRequest) XXX_DiscardUnknown()

func (*QueryAttestedVerificationReportRequest) XXX_Marshal

func (m *QueryAttestedVerificationReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAttestedVerificationReportRequest) XXX_Merge

func (*QueryAttestedVerificationReportRequest) XXX_Size

func (*QueryAttestedVerificationReportRequest) XXX_Unmarshal

func (m *QueryAttestedVerificationReportRequest) XXX_Unmarshal(b []byte) error

type QueryAttestedVerificationReportResponse

type QueryAttestedVerificationReportResponse struct {
	EnclaveAddress []byte `protobuf:"bytes,1,opt,name=enclave_address,json=enclaveAddress,proto3" json:"enclave_address,omitempty"`
	Report         string `protobuf:"bytes,2,opt,name=report,proto3" json:"report,omitempty"`
	Signature      []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	SigningCert    []byte `protobuf:"bytes,4,opt,name=signing_cert,json=signingCert,proto3" json:"signing_cert,omitempty"`
}

func (*QueryAttestedVerificationReportResponse) Descriptor

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

func (*QueryAttestedVerificationReportResponse) Marshal

func (m *QueryAttestedVerificationReportResponse) Marshal() (dAtA []byte, err error)

func (*QueryAttestedVerificationReportResponse) MarshalTo

func (m *QueryAttestedVerificationReportResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAttestedVerificationReportResponse) MarshalToSizedBuffer

func (m *QueryAttestedVerificationReportResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAttestedVerificationReportResponse) ProtoMessage

func (*QueryAttestedVerificationReportResponse) Reset

func (*QueryAttestedVerificationReportResponse) Size

func (*QueryAttestedVerificationReportResponse) String

func (*QueryAttestedVerificationReportResponse) Unmarshal

func (m *QueryAttestedVerificationReportResponse) Unmarshal(dAtA []byte) error

func (*QueryAttestedVerificationReportResponse) XXX_DiscardUnknown

func (m *QueryAttestedVerificationReportResponse) XXX_DiscardUnknown()

func (*QueryAttestedVerificationReportResponse) XXX_Marshal

func (m *QueryAttestedVerificationReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAttestedVerificationReportResponse) XXX_Merge

func (*QueryAttestedVerificationReportResponse) XXX_Size

func (*QueryAttestedVerificationReportResponse) XXX_Unmarshal

func (m *QueryAttestedVerificationReportResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	AttestedVerificationReport(ctx context.Context, in *QueryAttestedVerificationReportRequest, opts ...grpc.CallOption) (*QueryAttestedVerificationReportResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc *grpc.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
	AttestedVerificationReport(context.Context, *QueryAttestedVerificationReportRequest) (*QueryAttestedVerificationReportResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

Jump to

Keyboard shortcuts

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