challenge

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package challenge defines an interface for a dynamic challenge password cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(store Store, next scepserver.CSRSigner) scepserver.CSRSignerFunc

Middleware wraps next in a CSRSigner that verifies and invalidates the challenge

Types

type Store

type Store interface {
	SCEPChallenge() (string, error)
	HasChallenge(pw string) (bool, error)
}

Store is a dynamic challenge password cache.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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