registration

package
v1.5.1-0...-ba1f6c8 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: BSD-2-Clause, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

This file is compiled for all architectures except WebAssembly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registration

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

func Init

func Init(comms *client.Comms, def *ndf.NetworkDefinition) (*Registration, error)

func (*Registration) Register

func (perm *Registration) Register(transmissionPublicKey, receptionPublicKey *rsa.PublicKey,
	registrationCode string) (transmissionSig []byte, receptionSig []byte, regTimestamp int64, err error)

Jump to

Keyboard shortcuts

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