testkeyshare

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyshareServerHandler added in v0.17.0

func KeyshareServerHandler(t *testing.T, l *logrus.Logger, schemeID irma.SchemeManagerIdentifier, jwtKeyID uint32) (handler http.Handler, host string)

func KeyshareServerHandlerWithDB added in v1.0.0

func KeyshareServerHandlerWithDB(t *testing.T, l *logrus.Logger, schemeID irma.SchemeManagerIdentifier, jwtKeyID uint32) (db *keyshareserver.MemoryDB, handler http.Handler, host string)

Types

type KeyshareServer added in v0.12.3

type KeyshareServer struct {
	http.Server
	DB *keyshareserver.MemoryDB
	// contains filtered or unexported fields
}

func StartKeyshareServer

func StartKeyshareServer(t *testing.T, l *logrus.Logger, schemeID irma.SchemeManagerIdentifier, jwtKeyID uint32) *KeyshareServer

func StartKeyshareServerWithDB added in v1.0.0

func StartKeyshareServerWithDB(t *testing.T, l *logrus.Logger, schemeID irma.SchemeManagerIdentifier, jwtKeyID uint32) *KeyshareServer

func (*KeyshareServer) Stop added in v0.12.3

func (ks *KeyshareServer) Stop()

Jump to

Keyboard shortcuts

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