directaux

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignModeHandler

type SignModeHandler struct {
	// contains filtered or unexported fields
}

SignModeHandler is the SIGN_MODE_DIRECT_AUX implementation of signing.SignModeHandler.

func NewSignModeHandler

func NewSignModeHandler(options SignModeHandlerOptions) (SignModeHandler, error)

NewSignModeHandler returns a new SignModeHandler.

func (SignModeHandler) GetSignBytes

func (h SignModeHandler) GetSignBytes(
	_ context.Context, signerData signing.SignerData, txData signing.TxData,
) ([]byte, error)

GetSignBytes implements signing.SignModeHandler.GetSignBytes.

func (SignModeHandler) Mode

Mode implements signing.SignModeHandler.Mode.

type SignModeHandlerOptions

type SignModeHandlerOptions struct {
	// TypeResolver is the protoregistry.MessageTypeResolver to use for resolving protobuf types when unpacking any messages.
	TypeResolver protoregistry.MessageTypeResolver

	// SignersContext is the signing.Context to use for getting signers.
	SignersContext *signing.Context
}

SignModeHandlerOptions are the options for the SignModeHandler.

Jump to

Keyboard shortcuts

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