tl_session

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fpc_tl_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SessionCloseRequest

type SessionCloseRequest struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionCloseRequest) Descriptor deprecated

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

Deprecated: Use SessionCloseRequest.ProtoReflect.Descriptor instead.

func (*SessionCloseRequest) GetSessionId

func (x *SessionCloseRequest) GetSessionId() uint64

func (*SessionCloseRequest) ProtoMessage

func (*SessionCloseRequest) ProtoMessage()

func (*SessionCloseRequest) ProtoReflect

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

func (*SessionCloseRequest) Reset

func (x *SessionCloseRequest) Reset()

func (*SessionCloseRequest) String

func (x *SessionCloseRequest) String() string

type SessionCloseResponse

type SessionCloseResponse struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionCloseResponse) Descriptor deprecated

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

Deprecated: Use SessionCloseResponse.ProtoReflect.Descriptor instead.

func (*SessionCloseResponse) GetSessionId

func (x *SessionCloseResponse) GetSessionId() uint64

func (*SessionCloseResponse) ProtoMessage

func (*SessionCloseResponse) ProtoMessage()

func (*SessionCloseResponse) ProtoReflect

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

func (*SessionCloseResponse) Reset

func (x *SessionCloseResponse) Reset()

func (*SessionCloseResponse) String

func (x *SessionCloseResponse) String() string

type SessionError

type SessionError struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	ErrorCode int32  `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	ErrorMsg  string `protobuf:"bytes,3,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionError) Descriptor deprecated

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

Deprecated: Use SessionError.ProtoReflect.Descriptor instead.

func (*SessionError) GetErrorCode

func (x *SessionError) GetErrorCode() int32

func (*SessionError) GetErrorMsg

func (x *SessionError) GetErrorMsg() string

func (*SessionError) GetSessionId

func (x *SessionError) GetSessionId() uint64

func (*SessionError) ProtoMessage

func (*SessionError) ProtoMessage()

func (*SessionError) ProtoReflect

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

func (*SessionError) Reset

func (x *SessionError) Reset()

func (*SessionError) String

func (x *SessionError) String() string

type SessionMsg

type SessionMsg struct {
	SerializedPayload *any.Any `protobuf:"bytes,1,opt,name=serialized_payload,json=serializedPayload,proto3" json:"serialized_payload,omitempty"` // This should be a serialization of SessionMsgPayload
	Mac               []byte   `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionMsg) Descriptor deprecated

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

Deprecated: Use SessionMsg.ProtoReflect.Descriptor instead.

func (*SessionMsg) GetMac

func (x *SessionMsg) GetMac() []byte

func (*SessionMsg) GetSerializedPayload

func (x *SessionMsg) GetSerializedPayload() *any.Any

func (*SessionMsg) ProtoMessage

func (*SessionMsg) ProtoMessage()

func (*SessionMsg) ProtoReflect

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

func (*SessionMsg) Reset

func (x *SessionMsg) Reset()

func (*SessionMsg) String

func (x *SessionMsg) String() string

type SessionMsgPayload

type SessionMsgPayload struct {

	// Types that are assignable to Payload:
	//	*SessionMsgPayload_StpIntReq
	//	*SessionMsgPayload_StpIntRsp
	//	*SessionMsgPayload_StpCmpReq
	//	*SessionMsgPayload_StpCmpRsp
	//	*SessionMsgPayload_ClsReq
	//	*SessionMsgPayload_ClsRsp
	//	*SessionMsgPayload_TxReq
	//	*SessionMsgPayload_TxRsp
	//	*SessionMsgPayload_Error
	Payload isSessionMsgPayload_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*SessionMsgPayload) Descriptor deprecated

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

Deprecated: Use SessionMsgPayload.ProtoReflect.Descriptor instead.

func (*SessionMsgPayload) GetClsReq

func (x *SessionMsgPayload) GetClsReq() *SessionCloseRequest

func (*SessionMsgPayload) GetClsRsp

func (x *SessionMsgPayload) GetClsRsp() *SessionCloseResponse

func (*SessionMsgPayload) GetError

func (x *SessionMsgPayload) GetError() *SessionError

func (*SessionMsgPayload) GetPayload

func (m *SessionMsgPayload) GetPayload() isSessionMsgPayload_Payload

func (*SessionMsgPayload) GetStpCmpReq

func (*SessionMsgPayload) GetStpCmpRsp

func (*SessionMsgPayload) GetStpIntReq

func (x *SessionMsgPayload) GetStpIntReq() *SessionSetupInitRequest

func (*SessionMsgPayload) GetStpIntRsp

func (x *SessionMsgPayload) GetStpIntRsp() *SessionSetupInitResponse

func (*SessionMsgPayload) GetTxReq

func (x *SessionMsgPayload) GetTxReq() *SessionTXRequest

func (*SessionMsgPayload) GetTxRsp

func (x *SessionMsgPayload) GetTxRsp() *SessionTXResponse

func (*SessionMsgPayload) ProtoMessage

func (*SessionMsgPayload) ProtoMessage()

func (*SessionMsgPayload) ProtoReflect

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

func (*SessionMsgPayload) Reset

func (x *SessionMsgPayload) Reset()

func (*SessionMsgPayload) String

func (x *SessionMsgPayload) String() string

type SessionMsgPayload_ClsReq

type SessionMsgPayload_ClsReq struct {
	ClsReq *SessionCloseRequest `protobuf:"bytes,5,opt,name=cls_req,json=clsReq,proto3,oneof"`
}

type SessionMsgPayload_ClsRsp

type SessionMsgPayload_ClsRsp struct {
	ClsRsp *SessionCloseResponse `protobuf:"bytes,6,opt,name=cls_rsp,json=clsRsp,proto3,oneof"`
}

type SessionMsgPayload_Error

type SessionMsgPayload_Error struct {
	Error *SessionError `protobuf:"bytes,9,opt,name=error,proto3,oneof"`
}

type SessionMsgPayload_StpCmpReq

type SessionMsgPayload_StpCmpReq struct {
	StpCmpReq *SessionSetupCompleteRequest `protobuf:"bytes,3,opt,name=stp_cmp_req,json=stpCmpReq,proto3,oneof"`
}

type SessionMsgPayload_StpCmpRsp

type SessionMsgPayload_StpCmpRsp struct {
	StpCmpRsp *SessionSetupCompleteResponse `protobuf:"bytes,4,opt,name=stp_cmp_rsp,json=stpCmpRsp,proto3,oneof"`
}

type SessionMsgPayload_StpIntReq

type SessionMsgPayload_StpIntReq struct {
	StpIntReq *SessionSetupInitRequest `protobuf:"bytes,1,opt,name=stp_int_req,json=stpIntReq,proto3,oneof"`
}

type SessionMsgPayload_StpIntRsp

type SessionMsgPayload_StpIntRsp struct {
	StpIntRsp *SessionSetupInitResponse `protobuf:"bytes,2,opt,name=stp_int_rsp,json=stpIntRsp,proto3,oneof"`
}

type SessionMsgPayload_TxReq

type SessionMsgPayload_TxReq struct {
	TxReq *SessionTXRequest `protobuf:"bytes,7,opt,name=tx_req,json=txReq,proto3,oneof"`
}

type SessionMsgPayload_TxRsp

type SessionMsgPayload_TxRsp struct {
	TxRsp *SessionTXResponse `protobuf:"bytes,8,opt,name=tx_rsp,json=txRsp,proto3,oneof"`
}

type SessionSetupCompleteRequest

type SessionSetupCompleteRequest struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// serialized struct sgx_dh_msg2_t
	Msg2 []byte `protobuf:"bytes,2,opt,name=msg2,proto3" json:"msg2,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionSetupCompleteRequest) Descriptor deprecated

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

Deprecated: Use SessionSetupCompleteRequest.ProtoReflect.Descriptor instead.

func (*SessionSetupCompleteRequest) GetMsg2

func (x *SessionSetupCompleteRequest) GetMsg2() []byte

func (*SessionSetupCompleteRequest) GetSessionId

func (x *SessionSetupCompleteRequest) GetSessionId() uint64

func (*SessionSetupCompleteRequest) ProtoMessage

func (*SessionSetupCompleteRequest) ProtoMessage()

func (*SessionSetupCompleteRequest) ProtoReflect

func (*SessionSetupCompleteRequest) Reset

func (x *SessionSetupCompleteRequest) Reset()

func (*SessionSetupCompleteRequest) String

func (x *SessionSetupCompleteRequest) String() string

type SessionSetupCompleteResponse

type SessionSetupCompleteResponse struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// serialized struct sgx_dh_msg2_t
	Msg3        []byte `protobuf:"bytes,2,opt,name=msg3,proto3" json:"msg3,omitempty"`
	ChannelId   string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	ChannelHash []byte `protobuf:"bytes,4,opt,name=channel_hash,json=channelHash,proto3" json:"channel_hash,omitempty"`
	ChaincodeId string `protobuf:"bytes,5,opt,name=chaincode_id,json=chaincodeId,proto3" json:"chaincode_id,omitempty"`
	EnclaveId   string `protobuf:"bytes,6,opt,name=enclave_id,json=enclaveId,proto3" json:"enclave_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionSetupCompleteResponse) Descriptor deprecated

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

Deprecated: Use SessionSetupCompleteResponse.ProtoReflect.Descriptor instead.

func (*SessionSetupCompleteResponse) GetChaincodeId

func (x *SessionSetupCompleteResponse) GetChaincodeId() string

func (*SessionSetupCompleteResponse) GetChannelHash

func (x *SessionSetupCompleteResponse) GetChannelHash() []byte

func (*SessionSetupCompleteResponse) GetChannelId

func (x *SessionSetupCompleteResponse) GetChannelId() string

func (*SessionSetupCompleteResponse) GetEnclaveId

func (x *SessionSetupCompleteResponse) GetEnclaveId() string

func (*SessionSetupCompleteResponse) GetMsg3

func (x *SessionSetupCompleteResponse) GetMsg3() []byte

func (*SessionSetupCompleteResponse) GetSessionId

func (x *SessionSetupCompleteResponse) GetSessionId() uint64

func (*SessionSetupCompleteResponse) ProtoMessage

func (*SessionSetupCompleteResponse) ProtoMessage()

func (*SessionSetupCompleteResponse) ProtoReflect

func (*SessionSetupCompleteResponse) Reset

func (x *SessionSetupCompleteResponse) Reset()

func (*SessionSetupCompleteResponse) String

type SessionSetupInitRequest

type SessionSetupInitRequest struct {
	ChannelId   string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	ChaincodeId string `protobuf:"bytes,2,opt,name=chaincode_id,json=chaincodeId,proto3" json:"chaincode_id,omitempty"`
	EnclaveId   string `protobuf:"bytes,3,opt,name=enclave_id,json=enclaveId,proto3" json:"enclave_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionSetupInitRequest) Descriptor deprecated

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

Deprecated: Use SessionSetupInitRequest.ProtoReflect.Descriptor instead.

func (*SessionSetupInitRequest) GetChaincodeId

func (x *SessionSetupInitRequest) GetChaincodeId() string

func (*SessionSetupInitRequest) GetChannelId

func (x *SessionSetupInitRequest) GetChannelId() string

func (*SessionSetupInitRequest) GetEnclaveId

func (x *SessionSetupInitRequest) GetEnclaveId() string

func (*SessionSetupInitRequest) ProtoMessage

func (*SessionSetupInitRequest) ProtoMessage()

func (*SessionSetupInitRequest) ProtoReflect

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

func (*SessionSetupInitRequest) Reset

func (x *SessionSetupInitRequest) Reset()

func (*SessionSetupInitRequest) String

func (x *SessionSetupInitRequest) String() string

type SessionSetupInitResponse

type SessionSetupInitResponse struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// serialized struct sgx_dh_msg1_t
	Msg1 []byte `protobuf:"bytes,2,opt,name=msg1,proto3" json:"msg1,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionSetupInitResponse) Descriptor deprecated

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

Deprecated: Use SessionSetupInitResponse.ProtoReflect.Descriptor instead.

func (*SessionSetupInitResponse) GetMsg1

func (x *SessionSetupInitResponse) GetMsg1() []byte

func (*SessionSetupInitResponse) GetSessionId

func (x *SessionSetupInitResponse) GetSessionId() uint64

func (*SessionSetupInitResponse) ProtoMessage

func (*SessionSetupInitResponse) ProtoMessage()

func (*SessionSetupInitResponse) ProtoReflect

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

func (*SessionSetupInitResponse) Reset

func (x *SessionSetupInitResponse) Reset()

func (*SessionSetupInitResponse) String

func (x *SessionSetupInitResponse) String() string

type SessionTXRequest

type SessionTXRequest struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Nonce     []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Request   []byte `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionTXRequest) Descriptor deprecated

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

Deprecated: Use SessionTXRequest.ProtoReflect.Descriptor instead.

func (*SessionTXRequest) GetNonce

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

func (*SessionTXRequest) GetRequest

func (x *SessionTXRequest) GetRequest() []byte

func (*SessionTXRequest) GetSessionId

func (x *SessionTXRequest) GetSessionId() uint64

func (*SessionTXRequest) ProtoMessage

func (*SessionTXRequest) ProtoMessage()

func (*SessionTXRequest) ProtoReflect

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

func (*SessionTXRequest) Reset

func (x *SessionTXRequest) Reset()

func (*SessionTXRequest) String

func (x *SessionTXRequest) String() string

type SessionTXResponse

type SessionTXResponse struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// should be same as in request: somewhat redundant but makes processing of MAC easier/more uniform.
	Nonce     []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Respoonse []byte `protobuf:"bytes,3,opt,name=respoonse,proto3" json:"respoonse,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionTXResponse) Descriptor deprecated

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

Deprecated: Use SessionTXResponse.ProtoReflect.Descriptor instead.

func (*SessionTXResponse) GetNonce

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

func (*SessionTXResponse) GetRespoonse

func (x *SessionTXResponse) GetRespoonse() []byte

func (*SessionTXResponse) GetSessionId

func (x *SessionTXResponse) GetSessionId() uint64

func (*SessionTXResponse) ProtoMessage

func (*SessionTXResponse) ProtoMessage()

func (*SessionTXResponse) ProtoReflect

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

func (*SessionTXResponse) Reset

func (x *SessionTXResponse) Reset()

func (*SessionTXResponse) String

func (x *SessionTXResponse) String() string

Jump to

Keyboard shortcuts

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