pki

package
v1.11.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MPL-2.0 Imports: 55 Imported by: 102

Documentation

Index

Constants

View Source
const (
	IssuerRefNotFound = issuerID("not-found")
	KeyRefNotFound    = keyID("not-found")
)
View Source
const (
	ReadOnlyUsage   issuerUsage = iota
	IssuanceUsage   issuerUsage = 1 << iota
	CRLSigningUsage issuerUsage = 1 << iota

	// When adding a new usage in the future, we'll need to create a usage
	// mask field on the IssuerEntry and handle migrations to a newer mask,
	// inferring a value for the new bits.
	AllIssuerUsages issuerUsage = ReadOnlyUsage | IssuanceUsage | CRLSigningUsage
)
View Source
const SecretCertsType = "pki"

SecretCertsType is the name used to identify this type

Variables

This section is empty.

Functions

func Backend

func Backend(conf *logical.BackendConfig) *backend

Backend returns a new Backend framework struct

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Factory creates a new backend implementing the logical.Backend interface

func NewIssuerUsageFromNames added in v1.11.0

func NewIssuerUsageFromNames(names []string) (issuerUsage, error)

Types

type NameKey added in v1.10.0

type NameKey string

func (NameKey) String added in v1.10.0

func (n NameKey) String() string

type UUIDKey added in v1.10.0

type UUIDKey string

func (UUIDKey) String added in v1.10.0

func (u UUIDKey) String() string

Directories

Path Synopsis
cmd
pki

Jump to

Keyboard shortcuts

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