servertest

package
v0.179.12 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package servertest provides utilities for server testing.

Index

Constants

View Source
const (
	X        = "7744735542292224619198421067303535767629647588258222392379329927711683109548"
	Y        = "6855516769916529066379811647277920115118980625614889267697023742462401590771"
	D        = "38564357061962143106230288374146033267100509055924181407058066820384455255240"
	AES      = "BbnZ7Gc66t54a9kEFCf7FW8SGQuYypwHVeNkRYeNoqV6"
	DB58     = "6jpbvo2ucrtrnpXXF4DQYuysh697isH9ppd2aT8uSRDh"
	SN       = "91849736469742262272885892667727604096707836853856473239722372976236128900962"
	CertTime = "eQUriVtGtkWhPJFeLZjF"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TestCertComponents

type TestCertComponents struct {
	NotBefore, NotAfter time.Time
	SN                  *big.Int
}

func (*TestCertComponents) SetupCertComponents

func (tcc *TestCertComponents) SetupCertComponents(t *testing.T)

type TestKeyComponents

type TestKeyComponents struct {
	X      *big.Int
	Y      *big.Int
	D      *big.Int
	AES    []byte
	DBytes []byte
	PK     *ecdsa.PrivateKey
}

func (*TestKeyComponents) SetupKeyComponents

func (tk *TestKeyComponents) SetupKeyComponents(t *testing.T)

type TestLoggerComponents

type TestLoggerComponents struct {
	Logger *zap.Logger
}

func (*TestLoggerComponents) SetupLoggerComponents

func (tlc *TestLoggerComponents) SetupLoggerComponents()

Jump to

Keyboard shortcuts

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