registrant

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registrant

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

func NewRegistrant

func NewRegistrant(
	ctx context.Context,
	log *zap.Logger,
	db *queries.Queries,
	nodeRegistry registry.NodeRegistry,
	privateKeyString string,
) (*Registrant, error)

func (*Registrant) NodeID

func (r *Registrant) NodeID() uint32

func (*Registrant) SignStagedEnvelope

func (r *Registrant) SignStagedEnvelope(
	stagedEnv queries.StagedOriginatorEnvelope,
) (*envelopes.OriginatorEnvelope, error)

func (*Registrant) TokenFactory

func (r *Registrant) TokenFactory() *authn.TokenFactory

Jump to

Keyboard shortcuts

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