config

package
v0.0.0-...-2f10430 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2015 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package config in the ocsp directory provides configuration data for an OCSP signer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CACertFile        string
	ResponderCertFile string
	KeyFile           string
	Interval          time.Duration
	PKCS11            PKCS11Config
}

Config contains configuration information required to set up an OCSP signer. If PKCS11.Module is non-empty, PKCS11 signing will be used. Otherwise signing from a key file will be used.

type PKCS11Config

type PKCS11Config struct {
	Module string
	Token  string
	PIN    string
	Label  string
}

PKCS11Config contains information specific to setting up a PKCS11 OCSP signer.

Jump to

Keyboard shortcuts

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