profile

package
v0.0.0-...-6aa13fe Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPrivateKey

func ReadPrivateKey(privateKeyPath string) (*rsa.PrivateKey, error)

Types

type Profile

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

func NewProfile

func NewProfile(privateKey *rsa.PrivateKey) (Profile, error)

func ReadProfile

func ReadProfile(profilePath string) (Profile, error)

func (Profile) GetAddress

func (s Profile) GetAddress() string

func (Profile) GetPrivateKey

func (s Profile) GetPrivateKey() *rsa.PrivateKey

func (Profile) GetPublicKey

func (s Profile) GetPublicKey() *rsa.PublicKey

Jump to

Keyboard shortcuts

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