executablecsrverifier

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package executablecsrverifier defines the ExecutableCSRVerifier csrverifier.CSRVerifier.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutableCSRVerifier

type ExecutableCSRVerifier struct {
	// contains filtered or unexported fields
}

ExecutableCSRVerifier implements a csrverifier.CSRVerifier. It executes a command, and passes it the raw decrypted CSR. If the command exit code is 0, the CSR is considered valid. In any other cases, the CSR is considered invalid.

func New

func New(path string, logger log.Logger) (*ExecutableCSRVerifier, error)

New creates a executablecsrverifier.ExecutableCSRVerifier.

func (*ExecutableCSRVerifier) Verify

func (v *ExecutableCSRVerifier) Verify(data []byte) (bool, error)

Jump to

Keyboard shortcuts

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