csrverifier

package
v3.0.1 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 csrverifier defines an interface for CSR verification.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(verifier CSRVerifier, next scepserver.CSRSigner) scepserver.CSRSignerFunc

Middleware wraps next in a CSRSigner that runs verifier

Types

type CSRVerifier

type CSRVerifier interface {
	Verify(data []byte) (bool, error)
}

CSRVerifier verifies the raw decrypted CSR.

Directories

Path Synopsis
Package executablecsrverifier defines the ExecutableCSRVerifier csrverifier.CSRVerifier.
Package executablecsrverifier defines the ExecutableCSRVerifier csrverifier.CSRVerifier.

Jump to

Keyboard shortcuts

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