factories

package
v0.0.0-...-4263410 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRSAPubKey

func GenerateRSAPubKey(t *testing.T) string

GenerateRSAPubKey generates pubkey for use in tests

func NewEmptyPubkeyRSA

func NewEmptyPubkeyRSA() *models.Pubkey

func NewPubkeyDSS

func NewPubkeyDSS() *models.Pubkey

func NewPubkeyECDSA

func NewPubkeyECDSA() *models.Pubkey

func NewPubkeyED25519

func NewPubkeyED25519() *models.Pubkey

func NewPubkeyRSA

func NewPubkeyRSA() *models.Pubkey

func NewPubkeyRSAWithoutUsername

func NewPubkeyRSAWithoutUsername() *models.Pubkey

func PubkeyWithTrans

func PubkeyWithTrans(t *testing.T, ctx context.Context, pk *models.Pubkey) *models.Pubkey

func SeqNameWithPrefix

func SeqNameWithPrefix(prefix string) string

SeqNameWithPrefix returns prefix with atomically increasing integer

Types

This section is empty.

Jump to

Keyboard shortcuts

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