emergency

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmergencyBackupKey

type EmergencyBackupKey struct {
	*envelope.LocalPrivateKey
	// contains filtered or unexported fields
}

func FromMneumonic

func FromMneumonic(hint string, pub *ecdsa.PublicKey, mneumonic string) (*EmergencyBackupKey, error)

func New

func New(hint string, randr io.Reader) *EmergencyBackupKey

func (*EmergencyBackupKey) Mneumonic

func (k *EmergencyBackupKey) Mneumonic() string

func (*EmergencyBackupKey) Pub

func (k *EmergencyBackupKey) Pub() (*ecdsa.PublicKey, error)

func (*EmergencyBackupKey) SetImplProto

func (k *EmergencyBackupKey) SetImplProto(p *pb.KeyImpl) error

Jump to

Keyboard shortcuts

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