keys

package
v0.0.0-...-90cfb48 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_BIT_SIZE = 2048
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Keys

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

func NewKeys

func NewKeys(vc *vault.Client, vCfg *config.VaultConfig) *Keys

func (*Keys) GenerateKeys

func (k *Keys) GenerateKeys(bitSize int) error

func (*Keys) GetFromVault

func (k *Keys) GetFromVault() error

func (*Keys) Sign

func (k *Keys) Sign(signMsg string) string

func (*Keys) StoreToVault

func (k *Keys) StoreToVault() error

func (*Keys) Validate

func (k *Keys) Validate(sig string, signMsg string) error

Jump to

Keyboard shortcuts

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