Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetSigVerified() *SigVerified
- func (x *Event) GetSignRequest() *SignRequest
- func (x *Event) GetSignResult() *SignResult
- func (x *Event) GetSigsVerified() *SigsVerified
- func (m *Event) GetType() isEvent_Type
- func (x *Event) GetVerifySig() *VerifySig
- func (x *Event) GetVerifySigs() *VerifySigs
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (*Event) ReflectTypeOptions() []reflect.Type
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_SigVerified
- type Event_SignRequest
- type Event_SignResult
- type Event_SigsVerified
- type Event_Type
- type Event_TypeWrapper
- type Event_VerifySig
- type Event_VerifySigs
- type SigVerOrigin
- func (*SigVerOrigin) Descriptor() ([]byte, []int)deprecated
- func (x *SigVerOrigin) GetContextStore() *contextstorepb.Origin
- func (x *SigVerOrigin) GetDsl() *dslpb.Origin
- func (x *SigVerOrigin) GetModule() string
- func (m *SigVerOrigin) GetType() isSigVerOrigin_Type
- func (*SigVerOrigin) ProtoMessage()
- func (x *SigVerOrigin) ProtoReflect() protoreflect.Message
- func (*SigVerOrigin) ReflectTypeOptions() []reflect.Type
- func (x *SigVerOrigin) Reset()
- func (x *SigVerOrigin) String() string
- type SigVerOrigin_ContextStore
- type SigVerOrigin_Dsl
- type SigVerOrigin_Type
- type SigVerOrigin_TypeWrapper
- type SigVerified
- func (*SigVerified) Descriptor() ([]byte, []int)deprecated
- func (x *SigVerified) GetError() string
- func (x *SigVerified) GetNodeId() string
- func (x *SigVerified) GetOrigin() *SigVerOrigin
- func (*SigVerified) ProtoMessage()
- func (x *SigVerified) ProtoReflect() protoreflect.Message
- func (x *SigVerified) Reset()
- func (x *SigVerified) String() string
- type SignOrigin
- func (*SignOrigin) Descriptor() ([]byte, []int)deprecated
- func (x *SignOrigin) GetContextStore() *contextstorepb.Origin
- func (x *SignOrigin) GetDsl() *dslpb.Origin
- func (x *SignOrigin) GetModule() string
- func (m *SignOrigin) GetType() isSignOrigin_Type
- func (*SignOrigin) ProtoMessage()
- func (x *SignOrigin) ProtoReflect() protoreflect.Message
- func (*SignOrigin) ReflectTypeOptions() []reflect.Type
- func (x *SignOrigin) Reset()
- func (x *SignOrigin) String() string
- type SignOrigin_ContextStore
- type SignOrigin_Dsl
- type SignOrigin_Type
- type SignOrigin_TypeWrapper
- type SignRequest
- func (*SignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignRequest) GetData() *SignedData
- func (x *SignRequest) GetOrigin() *SignOrigin
- func (*SignRequest) ProtoMessage()
- func (x *SignRequest) ProtoReflect() protoreflect.Message
- func (x *SignRequest) Reset()
- func (x *SignRequest) String() string
- type SignResult
- func (*SignResult) Descriptor() ([]byte, []int)deprecated
- func (x *SignResult) GetOrigin() *SignOrigin
- func (x *SignResult) GetSignature() []byte
- func (*SignResult) ProtoMessage()
- func (x *SignResult) ProtoReflect() protoreflect.Message
- func (x *SignResult) Reset()
- func (x *SignResult) String() string
- type SignedData
- type SigsVerified
- func (*SigsVerified) Descriptor() ([]byte, []int)deprecated
- func (x *SigsVerified) GetAllOk() bool
- func (x *SigsVerified) GetErrors() []string
- func (x *SigsVerified) GetNodeIds() []string
- func (x *SigsVerified) GetOrigin() *SigVerOrigin
- func (*SigsVerified) ProtoMessage()
- func (x *SigsVerified) ProtoReflect() protoreflect.Message
- func (x *SigsVerified) Reset()
- func (x *SigsVerified) String() string
- type VerifySig
- func (*VerifySig) Descriptor() ([]byte, []int)deprecated
- func (x *VerifySig) GetData() *SignedData
- func (x *VerifySig) GetNodeId() string
- func (x *VerifySig) GetOrigin() *SigVerOrigin
- func (x *VerifySig) GetSignature() []byte
- func (*VerifySig) ProtoMessage()
- func (x *VerifySig) ProtoReflect() protoreflect.Message
- func (x *VerifySig) Reset()
- func (x *VerifySig) String() string
- type VerifySigs
- func (*VerifySigs) Descriptor() ([]byte, []int)deprecated
- func (x *VerifySigs) GetData() []*SignedData
- func (x *VerifySigs) GetNodeIds() []string
- func (x *VerifySigs) GetOrigin() *SigVerOrigin
- func (x *VerifySigs) GetSignatures() [][]byte
- func (*VerifySigs) ProtoMessage()
- func (x *VerifySigs) ProtoReflect() protoreflect.Message
- func (x *VerifySigs) Reset()
- func (x *VerifySigs) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cryptopb_cryptopb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Types that are assignable to Type: // *Event_SignRequest // *Event_SignResult // *Event_VerifySig // *Event_SigVerified // *Event_VerifySigs // *Event_SigsVerified Type isEvent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetSigVerified ¶
func (x *Event) GetSigVerified() *SigVerified
func (*Event) GetSignRequest ¶
func (x *Event) GetSignRequest() *SignRequest
func (*Event) GetSignResult ¶
func (x *Event) GetSignResult() *SignResult
func (*Event) GetSigsVerified ¶
func (x *Event) GetSigsVerified() *SigsVerified
func (*Event) GetVerifySig ¶
func (*Event) GetVerifySigs ¶
func (x *Event) GetVerifySigs() *VerifySigs
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) ReflectTypeOptions ¶
type Event_SigVerified ¶
type Event_SigVerified struct {
SigVerified *SigVerified `protobuf:"bytes,4,opt,name=sig_verified,json=sigVerified,proto3,oneof"`
}
func (*Event_SigVerified) Unwrap ¶
func (w *Event_SigVerified) Unwrap() *SigVerified
type Event_SignRequest ¶
type Event_SignRequest struct {
SignRequest *SignRequest `protobuf:"bytes,1,opt,name=sign_request,json=signRequest,proto3,oneof"`
}
func (*Event_SignRequest) Unwrap ¶
func (w *Event_SignRequest) Unwrap() *SignRequest
type Event_SignResult ¶
type Event_SignResult struct {
SignResult *SignResult `protobuf:"bytes,2,opt,name=sign_result,json=signResult,proto3,oneof"`
}
func (*Event_SignResult) Unwrap ¶
func (w *Event_SignResult) Unwrap() *SignResult
type Event_SigsVerified ¶
type Event_SigsVerified struct {
SigsVerified *SigsVerified `protobuf:"bytes,6,opt,name=sigs_verified,json=sigsVerified,proto3,oneof"`
}
func (*Event_SigsVerified) Unwrap ¶
func (w *Event_SigsVerified) Unwrap() *SigsVerified
type Event_Type ¶
type Event_Type = isEvent_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type Event_VerifySig ¶
type Event_VerifySig struct {
VerifySig *VerifySig `protobuf:"bytes,3,opt,name=verify_sig,json=verifySig,proto3,oneof"`
}
func (*Event_VerifySig) Unwrap ¶
func (w *Event_VerifySig) Unwrap() *VerifySig
type Event_VerifySigs ¶
type Event_VerifySigs struct {
VerifySigs *VerifySigs `protobuf:"bytes,5,opt,name=verify_sigs,json=verifySigs,proto3,oneof"`
}
func (*Event_VerifySigs) Unwrap ¶
func (w *Event_VerifySigs) Unwrap() *VerifySigs
type SigVerOrigin ¶
type SigVerOrigin struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // Types that are assignable to Type: // *SigVerOrigin_ContextStore // *SigVerOrigin_Dsl Type isSigVerOrigin_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*SigVerOrigin) Descriptor
deprecated
func (*SigVerOrigin) Descriptor() ([]byte, []int)
Deprecated: Use SigVerOrigin.ProtoReflect.Descriptor instead.
func (*SigVerOrigin) GetContextStore ¶
func (x *SigVerOrigin) GetContextStore() *contextstorepb.Origin
func (*SigVerOrigin) GetDsl ¶
func (x *SigVerOrigin) GetDsl() *dslpb.Origin
func (*SigVerOrigin) GetModule ¶
func (x *SigVerOrigin) GetModule() string
func (*SigVerOrigin) GetType ¶
func (m *SigVerOrigin) GetType() isSigVerOrigin_Type
func (*SigVerOrigin) ProtoMessage ¶
func (*SigVerOrigin) ProtoMessage()
func (*SigVerOrigin) ProtoReflect ¶
func (x *SigVerOrigin) ProtoReflect() protoreflect.Message
func (*SigVerOrigin) ReflectTypeOptions ¶
func (*SigVerOrigin) ReflectTypeOptions() []reflect.Type
func (*SigVerOrigin) Reset ¶
func (x *SigVerOrigin) Reset()
func (*SigVerOrigin) String ¶
func (x *SigVerOrigin) String() string
type SigVerOrigin_ContextStore ¶
type SigVerOrigin_ContextStore struct {
ContextStore *contextstorepb.Origin `protobuf:"bytes,2,opt,name=context_store,json=contextStore,proto3,oneof"`
}
func (*SigVerOrigin_ContextStore) Unwrap ¶
func (w *SigVerOrigin_ContextStore) Unwrap() *contextstorepb.Origin
type SigVerOrigin_Dsl ¶
func (*SigVerOrigin_Dsl) Unwrap ¶
func (w *SigVerOrigin_Dsl) Unwrap() *dslpb.Origin
type SigVerOrigin_Type ¶
type SigVerOrigin_Type = isSigVerOrigin_Type
type SigVerOrigin_TypeWrapper ¶
type SigVerOrigin_TypeWrapper[T any] interface { SigVerOrigin_Type Unwrap() *T }
type SigVerified ¶
type SigVerified struct { Origin *SigVerOrigin `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SigVerified) Descriptor
deprecated
func (*SigVerified) Descriptor() ([]byte, []int)
Deprecated: Use SigVerified.ProtoReflect.Descriptor instead.
func (*SigVerified) GetError ¶
func (x *SigVerified) GetError() string
func (*SigVerified) GetNodeId ¶
func (x *SigVerified) GetNodeId() string
func (*SigVerified) GetOrigin ¶
func (x *SigVerified) GetOrigin() *SigVerOrigin
func (*SigVerified) ProtoMessage ¶
func (*SigVerified) ProtoMessage()
func (*SigVerified) ProtoReflect ¶
func (x *SigVerified) ProtoReflect() protoreflect.Message
func (*SigVerified) Reset ¶
func (x *SigVerified) Reset()
func (*SigVerified) String ¶
func (x *SigVerified) String() string
type SignOrigin ¶
type SignOrigin struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // Types that are assignable to Type: // *SignOrigin_ContextStore // *SignOrigin_Dsl Type isSignOrigin_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*SignOrigin) Descriptor
deprecated
func (*SignOrigin) Descriptor() ([]byte, []int)
Deprecated: Use SignOrigin.ProtoReflect.Descriptor instead.
func (*SignOrigin) GetContextStore ¶
func (x *SignOrigin) GetContextStore() *contextstorepb.Origin
func (*SignOrigin) GetDsl ¶
func (x *SignOrigin) GetDsl() *dslpb.Origin
func (*SignOrigin) GetModule ¶
func (x *SignOrigin) GetModule() string
func (*SignOrigin) GetType ¶
func (m *SignOrigin) GetType() isSignOrigin_Type
func (*SignOrigin) ProtoMessage ¶
func (*SignOrigin) ProtoMessage()
func (*SignOrigin) ProtoReflect ¶
func (x *SignOrigin) ProtoReflect() protoreflect.Message
func (*SignOrigin) ReflectTypeOptions ¶
func (*SignOrigin) ReflectTypeOptions() []reflect.Type
func (*SignOrigin) Reset ¶
func (x *SignOrigin) Reset()
func (*SignOrigin) String ¶
func (x *SignOrigin) String() string
type SignOrigin_ContextStore ¶
type SignOrigin_ContextStore struct {
ContextStore *contextstorepb.Origin `protobuf:"bytes,2,opt,name=context_store,json=contextStore,proto3,oneof"`
}
func (*SignOrigin_ContextStore) Unwrap ¶
func (w *SignOrigin_ContextStore) Unwrap() *contextstorepb.Origin
type SignOrigin_Dsl ¶
func (*SignOrigin_Dsl) Unwrap ¶
func (w *SignOrigin_Dsl) Unwrap() *dslpb.Origin
type SignOrigin_Type ¶
type SignOrigin_Type = isSignOrigin_Type
type SignOrigin_TypeWrapper ¶
type SignOrigin_TypeWrapper[T any] interface { SignOrigin_Type Unwrap() *T }
type SignRequest ¶
type SignRequest struct { Data *SignedData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Origin *SignOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*SignRequest) Descriptor
deprecated
func (*SignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) GetData ¶
func (x *SignRequest) GetData() *SignedData
func (*SignRequest) GetOrigin ¶
func (x *SignRequest) GetOrigin() *SignOrigin
func (*SignRequest) ProtoMessage ¶
func (*SignRequest) ProtoMessage()
func (*SignRequest) ProtoReflect ¶
func (x *SignRequest) ProtoReflect() protoreflect.Message
func (*SignRequest) Reset ¶
func (x *SignRequest) Reset()
func (*SignRequest) String ¶
func (x *SignRequest) String() string
type SignResult ¶
type SignResult struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Origin *SignOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*SignResult) Descriptor
deprecated
func (*SignResult) Descriptor() ([]byte, []int)
Deprecated: Use SignResult.ProtoReflect.Descriptor instead.
func (*SignResult) GetOrigin ¶
func (x *SignResult) GetOrigin() *SignOrigin
func (*SignResult) GetSignature ¶
func (x *SignResult) GetSignature() []byte
func (*SignResult) ProtoMessage ¶
func (*SignResult) ProtoMessage()
func (*SignResult) ProtoReflect ¶
func (x *SignResult) ProtoReflect() protoreflect.Message
func (*SignResult) Reset ¶
func (x *SignResult) Reset()
func (*SignResult) String ¶
func (x *SignResult) String() string
type SignedData ¶
type SignedData struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignedData) Descriptor
deprecated
func (*SignedData) Descriptor() ([]byte, []int)
Deprecated: Use SignedData.ProtoReflect.Descriptor instead.
func (*SignedData) GetData ¶
func (x *SignedData) GetData() [][]byte
func (*SignedData) ProtoMessage ¶
func (*SignedData) ProtoMessage()
func (*SignedData) ProtoReflect ¶
func (x *SignedData) ProtoReflect() protoreflect.Message
func (*SignedData) Reset ¶
func (x *SignedData) Reset()
func (*SignedData) String ¶
func (x *SignedData) String() string
type SigsVerified ¶
type SigsVerified struct { Origin *SigVerOrigin `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` NodeIds []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` AllOk bool `protobuf:"varint,4,opt,name=all_ok,json=allOk,proto3" json:"all_ok,omitempty"` // contains filtered or unexported fields }
func (*SigsVerified) Descriptor
deprecated
func (*SigsVerified) Descriptor() ([]byte, []int)
Deprecated: Use SigsVerified.ProtoReflect.Descriptor instead.
func (*SigsVerified) GetAllOk ¶
func (x *SigsVerified) GetAllOk() bool
func (*SigsVerified) GetErrors ¶
func (x *SigsVerified) GetErrors() []string
func (*SigsVerified) GetNodeIds ¶
func (x *SigsVerified) GetNodeIds() []string
func (*SigsVerified) GetOrigin ¶
func (x *SigsVerified) GetOrigin() *SigVerOrigin
func (*SigsVerified) ProtoMessage ¶
func (*SigsVerified) ProtoMessage()
func (*SigsVerified) ProtoReflect ¶
func (x *SigsVerified) ProtoReflect() protoreflect.Message
func (*SigsVerified) Reset ¶
func (x *SigsVerified) Reset()
func (*SigsVerified) String ¶
func (x *SigsVerified) String() string
type VerifySig ¶
type VerifySig struct { Data *SignedData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Origin *SigVerOrigin `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` NodeId string `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // contains filtered or unexported fields }
func (*VerifySig) Descriptor
deprecated
func (*VerifySig) GetData ¶
func (x *VerifySig) GetData() *SignedData
func (*VerifySig) GetOrigin ¶
func (x *VerifySig) GetOrigin() *SigVerOrigin
func (*VerifySig) GetSignature ¶
func (*VerifySig) ProtoMessage ¶
func (*VerifySig) ProtoMessage()
func (*VerifySig) ProtoReflect ¶
func (x *VerifySig) ProtoReflect() protoreflect.Message
type VerifySigs ¶
type VerifySigs struct { Data []*SignedData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Signatures [][]byte `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` Origin *SigVerOrigin `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` NodeIds []string `protobuf:"bytes,4,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` // contains filtered or unexported fields }
func (*VerifySigs) Descriptor
deprecated
func (*VerifySigs) Descriptor() ([]byte, []int)
Deprecated: Use VerifySigs.ProtoReflect.Descriptor instead.
func (*VerifySigs) GetData ¶
func (x *VerifySigs) GetData() []*SignedData
func (*VerifySigs) GetNodeIds ¶
func (x *VerifySigs) GetNodeIds() []string
func (*VerifySigs) GetOrigin ¶
func (x *VerifySigs) GetOrigin() *SigVerOrigin
func (*VerifySigs) GetSignatures ¶
func (x *VerifySigs) GetSignatures() [][]byte
func (*VerifySigs) ProtoMessage ¶
func (*VerifySigs) ProtoMessage()
func (*VerifySigs) ProtoReflect ¶
func (x *VerifySigs) ProtoReflect() protoreflect.Message
func (*VerifySigs) Reset ¶
func (x *VerifySigs) Reset()
func (*VerifySigs) String ¶
func (x *VerifySigs) String() string
Click to show internal directories.
Click to hide internal directories.