cryptopbtypes

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type Event_Type
}

func EventFromPb

func EventFromPb(pb *cryptopb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

func (m *Event) Pb() *cryptopb.Event

type Event_SigVerified

type Event_SigVerified struct {
	SigVerified *SigVerified
}

func (*Event_SigVerified) MirReflect

func (*Event_SigVerified) MirReflect() mirreflect.Type

func (*Event_SigVerified) Pb

func (*Event_SigVerified) Unwrap

func (w *Event_SigVerified) Unwrap() *SigVerified

type Event_SignRequest

type Event_SignRequest struct {
	SignRequest *SignRequest
}

func (*Event_SignRequest) MirReflect

func (*Event_SignRequest) MirReflect() mirreflect.Type

func (*Event_SignRequest) Pb

func (*Event_SignRequest) Unwrap

func (w *Event_SignRequest) Unwrap() *SignRequest

type Event_SignResult

type Event_SignResult struct {
	SignResult *SignResult
}

func (*Event_SignResult) MirReflect

func (*Event_SignResult) MirReflect() mirreflect.Type

func (*Event_SignResult) Pb

func (*Event_SignResult) Unwrap

func (w *Event_SignResult) Unwrap() *SignResult

type Event_SigsVerified

type Event_SigsVerified struct {
	SigsVerified *SigsVerified
}

func (*Event_SigsVerified) MirReflect

func (*Event_SigsVerified) MirReflect() mirreflect.Type

func (*Event_SigsVerified) Pb

func (*Event_SigsVerified) Unwrap

func (w *Event_SigsVerified) Unwrap() *SigsVerified

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

	Pb() cryptopb.Event_Type
	// contains filtered or unexported methods
}

func Event_TypeFromPb

func Event_TypeFromPb(pb cryptopb.Event_Type) Event_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type Event_VerifySig

type Event_VerifySig struct {
	VerifySig *VerifySig
}

func (*Event_VerifySig) MirReflect

func (*Event_VerifySig) MirReflect() mirreflect.Type

func (*Event_VerifySig) Pb

func (*Event_VerifySig) Unwrap

func (w *Event_VerifySig) Unwrap() *VerifySig

type Event_VerifySigs

type Event_VerifySigs struct {
	VerifySigs *VerifySigs
}

func (*Event_VerifySigs) MirReflect

func (*Event_VerifySigs) MirReflect() mirreflect.Type

func (*Event_VerifySigs) Pb

func (*Event_VerifySigs) Unwrap

func (w *Event_VerifySigs) Unwrap() *VerifySigs

type SigVerOrigin

type SigVerOrigin struct {
	Module types.ModuleID
	Type   SigVerOrigin_Type
}

func SigVerOriginFromPb

func SigVerOriginFromPb(pb *cryptopb.SigVerOrigin) *SigVerOrigin

func (*SigVerOrigin) MirReflect

func (*SigVerOrigin) MirReflect() mirreflect.Type

func (*SigVerOrigin) Pb

type SigVerOrigin_ContextStore

type SigVerOrigin_ContextStore struct {
	ContextStore *types2.Origin
}

func (*SigVerOrigin_ContextStore) MirReflect

func (*SigVerOrigin_ContextStore) Pb

func (*SigVerOrigin_ContextStore) Unwrap

type SigVerOrigin_Dsl

type SigVerOrigin_Dsl struct {
	Dsl *types3.Origin
}

func (*SigVerOrigin_Dsl) MirReflect

func (*SigVerOrigin_Dsl) MirReflect() mirreflect.Type

func (*SigVerOrigin_Dsl) Pb

func (*SigVerOrigin_Dsl) Unwrap

func (w *SigVerOrigin_Dsl) Unwrap() *types3.Origin

type SigVerOrigin_Type

type SigVerOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() cryptopb.SigVerOrigin_Type
	// contains filtered or unexported methods
}

type SigVerOrigin_TypeWrapper

type SigVerOrigin_TypeWrapper[T any] interface {
	SigVerOrigin_Type
	Unwrap() *T
}

type SigVerified

type SigVerified struct {
	Origin *SigVerOrigin
	NodeId types.NodeID
	Error  error
}

func SigVerifiedFromPb

func SigVerifiedFromPb(pb *cryptopb.SigVerified) *SigVerified

func (*SigVerified) MirReflect

func (*SigVerified) MirReflect() mirreflect.Type

func (*SigVerified) Pb

func (m *SigVerified) Pb() *cryptopb.SigVerified

type SignOrigin

type SignOrigin struct {
	Module types.ModuleID
	Type   SignOrigin_Type
}

func SignOriginFromPb

func SignOriginFromPb(pb *cryptopb.SignOrigin) *SignOrigin

func (*SignOrigin) MirReflect

func (*SignOrigin) MirReflect() mirreflect.Type

func (*SignOrigin) Pb

func (m *SignOrigin) Pb() *cryptopb.SignOrigin

type SignOrigin_ContextStore

type SignOrigin_ContextStore struct {
	ContextStore *types2.Origin
}

func (*SignOrigin_ContextStore) MirReflect

func (*SignOrigin_ContextStore) MirReflect() mirreflect.Type

func (*SignOrigin_ContextStore) Pb

func (*SignOrigin_ContextStore) Unwrap

func (w *SignOrigin_ContextStore) Unwrap() *types2.Origin

type SignOrigin_Dsl

type SignOrigin_Dsl struct {
	Dsl *types3.Origin
}

func (*SignOrigin_Dsl) MirReflect

func (*SignOrigin_Dsl) MirReflect() mirreflect.Type

func (*SignOrigin_Dsl) Pb

func (*SignOrigin_Dsl) Unwrap

func (w *SignOrigin_Dsl) Unwrap() *types3.Origin

type SignOrigin_Type

type SignOrigin_Type interface {
	mirreflect.GeneratedType

	Pb() cryptopb.SignOrigin_Type
	// contains filtered or unexported methods
}

func SignOrigin_TypeFromPb

func SignOrigin_TypeFromPb(pb cryptopb.SignOrigin_Type) SignOrigin_Type

type SignOrigin_TypeWrapper

type SignOrigin_TypeWrapper[T any] interface {
	SignOrigin_Type
	Unwrap() *T
}

type SignRequest

type SignRequest struct {
	Data   *SignedData
	Origin *SignOrigin
}

func SignRequestFromPb

func SignRequestFromPb(pb *cryptopb.SignRequest) *SignRequest

func (*SignRequest) MirReflect

func (*SignRequest) MirReflect() mirreflect.Type

func (*SignRequest) Pb

func (m *SignRequest) Pb() *cryptopb.SignRequest

type SignResult

type SignResult struct {
	Signature []uint8
	Origin    *SignOrigin
}

func SignResultFromPb

func SignResultFromPb(pb *cryptopb.SignResult) *SignResult

func (*SignResult) MirReflect

func (*SignResult) MirReflect() mirreflect.Type

func (*SignResult) Pb

func (m *SignResult) Pb() *cryptopb.SignResult

type SignedData

type SignedData struct {
	Data [][]uint8
}

func SignedDataFromPb

func SignedDataFromPb(pb *cryptopb.SignedData) *SignedData

func (*SignedData) MirReflect

func (*SignedData) MirReflect() mirreflect.Type

func (*SignedData) Pb

func (m *SignedData) Pb() *cryptopb.SignedData

type SigsVerified

type SigsVerified struct {
	Origin  *SigVerOrigin
	NodeIds []types.NodeID
	Errors  []error
	AllOk   bool
}

func SigsVerifiedFromPb

func SigsVerifiedFromPb(pb *cryptopb.SigsVerified) *SigsVerified

func (*SigsVerified) MirReflect

func (*SigsVerified) MirReflect() mirreflect.Type

func (*SigsVerified) Pb

type VerifySig

type VerifySig struct {
	Data      *SignedData
	Signature []uint8
	Origin    *SigVerOrigin
	NodeId    types.NodeID
}

func VerifySigFromPb

func VerifySigFromPb(pb *cryptopb.VerifySig) *VerifySig

func (*VerifySig) MirReflect

func (*VerifySig) MirReflect() mirreflect.Type

func (*VerifySig) Pb

func (m *VerifySig) Pb() *cryptopb.VerifySig

type VerifySigs

type VerifySigs struct {
	Data       []*SignedData
	Signatures [][]uint8
	Origin     *SigVerOrigin
	NodeIds    []types.NodeID
}

func VerifySigsFromPb

func VerifySigsFromPb(pb *cryptopb.VerifySigs) *VerifySigs

func (*VerifySigs) MirReflect

func (*VerifySigs) MirReflect() mirreflect.Type

func (*VerifySigs) Pb

func (m *VerifySigs) Pb() *cryptopb.VerifySigs

Jump to

Keyboard shortcuts

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