Documentation ¶
Index ¶
- Variables
- func RegisterQcaServer(s grpc.ServiceRegistrar, srv QcaServer)
- type GetReportReply
- type GetReportRequest
- func (*GetReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReportRequest) GetNonce() []byte
- func (x *GetReportRequest) GetUuid() []byte
- func (x *GetReportRequest) GetWithTcb() bool
- func (*GetReportRequest) ProtoMessage()
- func (x *GetReportRequest) ProtoReflect() protoreflect.Message
- func (x *GetReportRequest) Reset()
- func (x *GetReportRequest) String() string
- type QcaClient
- type QcaServer
- type UnimplementedQcaServer
- type UnsafeQcaServer
Constants ¶
This section is empty.
Variables ¶
var File_qca_demo_qapi_api_proto protoreflect.FileDescriptor
var Qca_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Qca", HandlerType: (*QcaServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetReport", Handler: _Qca_GetReport_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "qca_demo/qapi/api.proto", }
Qca_ServiceDesc is the grpc.ServiceDesc for Qca service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQcaServer ¶
func RegisterQcaServer(s grpc.ServiceRegistrar, srv QcaServer)
Types ¶
type GetReportReply ¶
type GetReportReply struct { TeeReport []byte `protobuf:"bytes,1,opt,name=tee_report,json=teeReport,proto3" json:"tee_report,omitempty"` // contains filtered or unexported fields }
func (*GetReportReply) Descriptor
deprecated
func (*GetReportReply) Descriptor() ([]byte, []int)
Deprecated: Use GetReportReply.ProtoReflect.Descriptor instead.
func (*GetReportReply) GetTeeReport ¶
func (x *GetReportReply) GetTeeReport() []byte
func (*GetReportReply) ProtoMessage ¶
func (*GetReportReply) ProtoMessage()
func (*GetReportReply) ProtoReflect ¶
func (x *GetReportReply) ProtoReflect() protoreflect.Message
func (*GetReportReply) Reset ¶
func (x *GetReportReply) Reset()
func (*GetReportReply) String ¶
func (x *GetReportReply) String() string
type GetReportRequest ¶
type GetReportRequest struct { Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` WithTcb bool `protobuf:"varint,3,opt,name=with_tcb,json=withTcb,proto3" json:"with_tcb,omitempty"` // contains filtered or unexported fields }
func (*GetReportRequest) Descriptor
deprecated
func (*GetReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReportRequest.ProtoReflect.Descriptor instead.
func (*GetReportRequest) GetNonce ¶
func (x *GetReportRequest) GetNonce() []byte
func (*GetReportRequest) GetUuid ¶
func (x *GetReportRequest) GetUuid() []byte
func (*GetReportRequest) GetWithTcb ¶
func (x *GetReportRequest) GetWithTcb() bool
func (*GetReportRequest) ProtoMessage ¶
func (*GetReportRequest) ProtoMessage()
func (*GetReportRequest) ProtoReflect ¶
func (x *GetReportRequest) ProtoReflect() protoreflect.Message
func (*GetReportRequest) Reset ¶
func (x *GetReportRequest) Reset()
func (*GetReportRequest) String ¶
func (x *GetReportRequest) String() string
type QcaClient ¶
type QcaClient interface {
GetReport(ctx context.Context, in *GetReportRequest, opts ...grpc.CallOption) (*GetReportReply, error)
}
QcaClient is the client API for Qca service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQcaClient ¶
func NewQcaClient(cc grpc.ClientConnInterface) QcaClient
type QcaServer ¶
type QcaServer interface { GetReport(context.Context, *GetReportRequest) (*GetReportReply, error) // contains filtered or unexported methods }
QcaServer is the server API for Qca service. All implementations must embed UnimplementedQcaServer for forward compatibility
type UnimplementedQcaServer ¶
type UnimplementedQcaServer struct { }
UnimplementedQcaServer must be embedded to have forward compatible implementations.
func (UnimplementedQcaServer) GetReport ¶
func (UnimplementedQcaServer) GetReport(context.Context, *GetReportRequest) (*GetReportReply, error)
type UnsafeQcaServer ¶
type UnsafeQcaServer interface {
// contains filtered or unexported methods
}
UnsafeQcaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QcaServer will result in compilation errors.