Documentation ¶
Index ¶
- Variables
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type EnclaveKeyInfo
- func (*EnclaveKeyInfo) Descriptor() ([]byte, []int)
- func (m *EnclaveKeyInfo) Marshal() (dAtA []byte, err error)
- func (m *EnclaveKeyInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *EnclaveKeyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EnclaveKeyInfo) ProtoMessage()
- func (m *EnclaveKeyInfo) Reset()
- func (m *EnclaveKeyInfo) Size() (n int)
- func (m *EnclaveKeyInfo) String() string
- func (m *EnclaveKeyInfo) Unmarshal(dAtA []byte) error
- func (m *EnclaveKeyInfo) XXX_DiscardUnknown()
- func (m *EnclaveKeyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnclaveKeyInfo) XXX_Merge(src proto.Message)
- func (m *EnclaveKeyInfo) XXX_Size() int
- func (m *EnclaveKeyInfo) XXX_Unmarshal(b []byte) error
- type QueryAvailableEnclaveKeysRequest
- func (*QueryAvailableEnclaveKeysRequest) Descriptor() ([]byte, []int)
- func (m *QueryAvailableEnclaveKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableEnclaveKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableEnclaveKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableEnclaveKeysRequest) ProtoMessage()
- func (m *QueryAvailableEnclaveKeysRequest) Reset()
- func (m *QueryAvailableEnclaveKeysRequest) Size() (n int)
- func (m *QueryAvailableEnclaveKeysRequest) String() string
- func (m *QueryAvailableEnclaveKeysRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableEnclaveKeysRequest) XXX_DiscardUnknown()
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Merge(src proto.Message)
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Size() int
- func (m *QueryAvailableEnclaveKeysRequest) XXX_Unmarshal(b []byte) error
- type QueryAvailableEnclaveKeysResponse
- func (*QueryAvailableEnclaveKeysResponse) Descriptor() ([]byte, []int)
- func (m *QueryAvailableEnclaveKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAvailableEnclaveKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAvailableEnclaveKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAvailableEnclaveKeysResponse) ProtoMessage()
- func (m *QueryAvailableEnclaveKeysResponse) Reset()
- func (m *QueryAvailableEnclaveKeysResponse) Size() (n int)
- func (m *QueryAvailableEnclaveKeysResponse) String() string
- func (m *QueryAvailableEnclaveKeysResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAvailableEnclaveKeysResponse) XXX_DiscardUnknown()
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Merge(src proto.Message)
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Size() int
- func (m *QueryAvailableEnclaveKeysResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryEnclaveKeyRequest
- func (*QueryEnclaveKeyRequest) Descriptor() ([]byte, []int)
- func (m *QueryEnclaveKeyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEnclaveKeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnclaveKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnclaveKeyRequest) ProtoMessage()
- func (m *QueryEnclaveKeyRequest) Reset()
- func (m *QueryEnclaveKeyRequest) Size() (n int)
- func (m *QueryEnclaveKeyRequest) String() string
- func (m *QueryEnclaveKeyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEnclaveKeyRequest) XXX_DiscardUnknown()
- func (m *QueryEnclaveKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnclaveKeyRequest) XXX_Merge(src proto.Message)
- func (m *QueryEnclaveKeyRequest) XXX_Size() int
- func (m *QueryEnclaveKeyRequest) XXX_Unmarshal(b []byte) error
- type QueryEnclaveKeyResponse
- func (*QueryEnclaveKeyResponse) Descriptor() ([]byte, []int)
- func (m *QueryEnclaveKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEnclaveKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEnclaveKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEnclaveKeyResponse) ProtoMessage()
- func (m *QueryEnclaveKeyResponse) Reset()
- func (m *QueryEnclaveKeyResponse) Size() (n int)
- func (m *QueryEnclaveKeyResponse) String() string
- func (m *QueryEnclaveKeyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEnclaveKeyResponse) XXX_DiscardUnknown()
- func (m *QueryEnclaveKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEnclaveKeyResponse) XXX_Merge(src proto.Message)
- func (m *QueryEnclaveKeyResponse) XXX_Size() int
- func (m *QueryEnclaveKeyResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedQueryServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type EnclaveKeyInfo ¶
type EnclaveKeyInfo struct { EnclaveKeyAddress []byte `protobuf:"bytes,1,opt,name=enclave_key_address,json=enclaveKeyAddress,proto3" json:"enclave_key_address,omitempty"` AttestationTime uint64 `protobuf:"varint,2,opt,name=attestation_time,json=attestationTime,proto3" json:"attestation_time,omitempty"` Report string `protobuf:"bytes,3,opt,name=report,proto3" json:"report,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` SigningCert []byte `protobuf:"bytes,5,opt,name=signing_cert,json=signingCert,proto3" json:"signing_cert,omitempty"` Extension []byte `protobuf:"bytes,6,opt,name=extension,proto3" json:"extension,omitempty"` }
func (*EnclaveKeyInfo) Descriptor ¶
func (*EnclaveKeyInfo) Descriptor() ([]byte, []int)
func (*EnclaveKeyInfo) Marshal ¶
func (m *EnclaveKeyInfo) Marshal() (dAtA []byte, err error)
func (*EnclaveKeyInfo) MarshalToSizedBuffer ¶
func (m *EnclaveKeyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EnclaveKeyInfo) ProtoMessage ¶
func (*EnclaveKeyInfo) ProtoMessage()
func (*EnclaveKeyInfo) Reset ¶
func (m *EnclaveKeyInfo) Reset()
func (*EnclaveKeyInfo) Size ¶
func (m *EnclaveKeyInfo) Size() (n int)
func (*EnclaveKeyInfo) String ¶
func (m *EnclaveKeyInfo) String() string
func (*EnclaveKeyInfo) Unmarshal ¶
func (m *EnclaveKeyInfo) Unmarshal(dAtA []byte) error
func (*EnclaveKeyInfo) XXX_DiscardUnknown ¶
func (m *EnclaveKeyInfo) XXX_DiscardUnknown()
func (*EnclaveKeyInfo) XXX_Marshal ¶
func (m *EnclaveKeyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnclaveKeyInfo) XXX_Merge ¶
func (m *EnclaveKeyInfo) XXX_Merge(src proto.Message)
func (*EnclaveKeyInfo) XXX_Size ¶
func (m *EnclaveKeyInfo) XXX_Size() int
func (*EnclaveKeyInfo) XXX_Unmarshal ¶
func (m *EnclaveKeyInfo) XXX_Unmarshal(b []byte) error
type QueryAvailableEnclaveKeysRequest ¶
type QueryAvailableEnclaveKeysRequest struct {
Mrenclave []byte `protobuf:"bytes,1,opt,name=mrenclave,proto3" json:"mrenclave,omitempty"`
}
func (*QueryAvailableEnclaveKeysRequest) Descriptor ¶
func (*QueryAvailableEnclaveKeysRequest) Descriptor() ([]byte, []int)
func (*QueryAvailableEnclaveKeysRequest) Marshal ¶
func (m *QueryAvailableEnclaveKeysRequest) Marshal() (dAtA []byte, err error)
func (*QueryAvailableEnclaveKeysRequest) MarshalTo ¶
func (m *QueryAvailableEnclaveKeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysRequest) MarshalToSizedBuffer ¶
func (m *QueryAvailableEnclaveKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysRequest) ProtoMessage ¶
func (*QueryAvailableEnclaveKeysRequest) ProtoMessage()
func (*QueryAvailableEnclaveKeysRequest) Reset ¶
func (m *QueryAvailableEnclaveKeysRequest) Reset()
func (*QueryAvailableEnclaveKeysRequest) Size ¶
func (m *QueryAvailableEnclaveKeysRequest) Size() (n int)
func (*QueryAvailableEnclaveKeysRequest) String ¶
func (m *QueryAvailableEnclaveKeysRequest) String() string
func (*QueryAvailableEnclaveKeysRequest) Unmarshal ¶
func (m *QueryAvailableEnclaveKeysRequest) Unmarshal(dAtA []byte) error
func (*QueryAvailableEnclaveKeysRequest) XXX_DiscardUnknown ¶
func (m *QueryAvailableEnclaveKeysRequest) XXX_DiscardUnknown()
func (*QueryAvailableEnclaveKeysRequest) XXX_Marshal ¶
func (m *QueryAvailableEnclaveKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableEnclaveKeysRequest) XXX_Merge ¶
func (m *QueryAvailableEnclaveKeysRequest) XXX_Merge(src proto.Message)
func (*QueryAvailableEnclaveKeysRequest) XXX_Size ¶
func (m *QueryAvailableEnclaveKeysRequest) XXX_Size() int
func (*QueryAvailableEnclaveKeysRequest) XXX_Unmarshal ¶
func (m *QueryAvailableEnclaveKeysRequest) XXX_Unmarshal(b []byte) error
type QueryAvailableEnclaveKeysResponse ¶
type QueryAvailableEnclaveKeysResponse struct {
Keys []*EnclaveKeyInfo `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
}
func (*QueryAvailableEnclaveKeysResponse) Descriptor ¶
func (*QueryAvailableEnclaveKeysResponse) Descriptor() ([]byte, []int)
func (*QueryAvailableEnclaveKeysResponse) Marshal ¶
func (m *QueryAvailableEnclaveKeysResponse) Marshal() (dAtA []byte, err error)
func (*QueryAvailableEnclaveKeysResponse) MarshalTo ¶
func (m *QueryAvailableEnclaveKeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysResponse) MarshalToSizedBuffer ¶
func (m *QueryAvailableEnclaveKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAvailableEnclaveKeysResponse) ProtoMessage ¶
func (*QueryAvailableEnclaveKeysResponse) ProtoMessage()
func (*QueryAvailableEnclaveKeysResponse) Reset ¶
func (m *QueryAvailableEnclaveKeysResponse) Reset()
func (*QueryAvailableEnclaveKeysResponse) Size ¶
func (m *QueryAvailableEnclaveKeysResponse) Size() (n int)
func (*QueryAvailableEnclaveKeysResponse) String ¶
func (m *QueryAvailableEnclaveKeysResponse) String() string
func (*QueryAvailableEnclaveKeysResponse) Unmarshal ¶
func (m *QueryAvailableEnclaveKeysResponse) Unmarshal(dAtA []byte) error
func (*QueryAvailableEnclaveKeysResponse) XXX_DiscardUnknown ¶
func (m *QueryAvailableEnclaveKeysResponse) XXX_DiscardUnknown()
func (*QueryAvailableEnclaveKeysResponse) XXX_Marshal ¶
func (m *QueryAvailableEnclaveKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAvailableEnclaveKeysResponse) XXX_Merge ¶
func (m *QueryAvailableEnclaveKeysResponse) XXX_Merge(src proto.Message)
func (*QueryAvailableEnclaveKeysResponse) XXX_Size ¶
func (m *QueryAvailableEnclaveKeysResponse) XXX_Size() int
func (*QueryAvailableEnclaveKeysResponse) XXX_Unmarshal ¶
func (m *QueryAvailableEnclaveKeysResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { AvailableEnclaveKeys(ctx context.Context, in *QueryAvailableEnclaveKeysRequest, opts ...grpc.CallOption) (*QueryAvailableEnclaveKeysResponse, error) EnclaveKey(ctx context.Context, in *QueryEnclaveKeyRequest, opts ...grpc.CallOption) (*QueryEnclaveKeyResponse, 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 grpc1.ClientConn) QueryClient
type QueryEnclaveKeyRequest ¶
type QueryEnclaveKeyRequest struct {
EnclaveKeyAddress []byte `protobuf:"bytes,1,opt,name=enclave_key_address,json=enclaveKeyAddress,proto3" json:"enclave_key_address,omitempty"`
}
func (*QueryEnclaveKeyRequest) Descriptor ¶
func (*QueryEnclaveKeyRequest) Descriptor() ([]byte, []int)
func (*QueryEnclaveKeyRequest) Marshal ¶
func (m *QueryEnclaveKeyRequest) Marshal() (dAtA []byte, err error)
func (*QueryEnclaveKeyRequest) MarshalTo ¶
func (m *QueryEnclaveKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnclaveKeyRequest) MarshalToSizedBuffer ¶
func (m *QueryEnclaveKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnclaveKeyRequest) ProtoMessage ¶
func (*QueryEnclaveKeyRequest) ProtoMessage()
func (*QueryEnclaveKeyRequest) Reset ¶
func (m *QueryEnclaveKeyRequest) Reset()
func (*QueryEnclaveKeyRequest) Size ¶
func (m *QueryEnclaveKeyRequest) Size() (n int)
func (*QueryEnclaveKeyRequest) String ¶
func (m *QueryEnclaveKeyRequest) String() string
func (*QueryEnclaveKeyRequest) Unmarshal ¶
func (m *QueryEnclaveKeyRequest) Unmarshal(dAtA []byte) error
func (*QueryEnclaveKeyRequest) XXX_DiscardUnknown ¶
func (m *QueryEnclaveKeyRequest) XXX_DiscardUnknown()
func (*QueryEnclaveKeyRequest) XXX_Marshal ¶
func (m *QueryEnclaveKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnclaveKeyRequest) XXX_Merge ¶
func (m *QueryEnclaveKeyRequest) XXX_Merge(src proto.Message)
func (*QueryEnclaveKeyRequest) XXX_Size ¶
func (m *QueryEnclaveKeyRequest) XXX_Size() int
func (*QueryEnclaveKeyRequest) XXX_Unmarshal ¶
func (m *QueryEnclaveKeyRequest) XXX_Unmarshal(b []byte) error
type QueryEnclaveKeyResponse ¶
type QueryEnclaveKeyResponse struct {
Key *EnclaveKeyInfo `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}
func (*QueryEnclaveKeyResponse) Descriptor ¶
func (*QueryEnclaveKeyResponse) Descriptor() ([]byte, []int)
func (*QueryEnclaveKeyResponse) Marshal ¶
func (m *QueryEnclaveKeyResponse) Marshal() (dAtA []byte, err error)
func (*QueryEnclaveKeyResponse) MarshalTo ¶
func (m *QueryEnclaveKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEnclaveKeyResponse) MarshalToSizedBuffer ¶
func (m *QueryEnclaveKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEnclaveKeyResponse) ProtoMessage ¶
func (*QueryEnclaveKeyResponse) ProtoMessage()
func (*QueryEnclaveKeyResponse) Reset ¶
func (m *QueryEnclaveKeyResponse) Reset()
func (*QueryEnclaveKeyResponse) Size ¶
func (m *QueryEnclaveKeyResponse) Size() (n int)
func (*QueryEnclaveKeyResponse) String ¶
func (m *QueryEnclaveKeyResponse) String() string
func (*QueryEnclaveKeyResponse) Unmarshal ¶
func (m *QueryEnclaveKeyResponse) Unmarshal(dAtA []byte) error
func (*QueryEnclaveKeyResponse) XXX_DiscardUnknown ¶
func (m *QueryEnclaveKeyResponse) XXX_DiscardUnknown()
func (*QueryEnclaveKeyResponse) XXX_Marshal ¶
func (m *QueryEnclaveKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEnclaveKeyResponse) XXX_Merge ¶
func (m *QueryEnclaveKeyResponse) XXX_Merge(src proto.Message)
func (*QueryEnclaveKeyResponse) XXX_Size ¶
func (m *QueryEnclaveKeyResponse) XXX_Size() int
func (*QueryEnclaveKeyResponse) XXX_Unmarshal ¶
func (m *QueryEnclaveKeyResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { AvailableEnclaveKeys(context.Context, *QueryAvailableEnclaveKeysRequest) (*QueryAvailableEnclaveKeysResponse, error) EnclaveKey(context.Context, *QueryEnclaveKeyRequest) (*QueryEnclaveKeyResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AvailableEnclaveKeys ¶
func (*UnimplementedQueryServer) AvailableEnclaveKeys(ctx context.Context, req *QueryAvailableEnclaveKeysRequest) (*QueryAvailableEnclaveKeysResponse, error)
func (*UnimplementedQueryServer) EnclaveKey ¶
func (*UnimplementedQueryServer) EnclaveKey(ctx context.Context, req *QueryEnclaveKeyRequest) (*QueryEnclaveKeyResponse, error)
Click to show internal directories.
Click to hide internal directories.