filestore

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	Store storage.Interface
}

Writer wraps the storage backend to allow access for writing data.

func (*Writer) WriteKeypair

func (w *Writer) WriteKeypair(meta metadata.Metadata, key crypto.PrivateKey, chain []byte, ca []byte) error

WriteKeypair writes the given certificate, CA, and private key data to their respective file locations, according to the volume attributes. Also writes or updates the metadata file, including a calculated NextIssuanceTime.

Jump to

Keyboard shortcuts

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