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 ¶
func (h SignModeHandler) Mode() signingv1beta1.SignMode
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.
Click to show internal directories.
Click to hide internal directories.