backends

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiBackend added in v1.6.0

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

func NewMultiBackend added in v1.6.0

func NewMultiBackend(backends ...pki.CertBackend) (*MultiBackend, error)

func (*MultiBackend) Read added in v1.6.0

func (b *MultiBackend) Read() (*x509.Certificate, error)

func (*MultiBackend) Write added in v1.6.0

func (b *MultiBackend) Write(certData *pki.CertData) error

type PemBackend

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

func NewPemBackend

func NewPemBackend(cert, privateKey, chain pki.KeyPod) (*PemBackend, error)

func (*PemBackend) Read

func (f *PemBackend) Read() (*x509.Certificate, error)

func (*PemBackend) Write

func (f *PemBackend) Write(certData *pki.CertData) error

type PemContainerBackend

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

func NewPemContainerBackend

func NewPemContainerBackend(pod pki.KeyPod) (*PemContainerBackend, error)

func (*PemContainerBackend) Read

func (f *PemContainerBackend) Read() (*x509.Certificate, error)

func (*PemContainerBackend) Write

func (f *PemContainerBackend) Write(certData *pki.CertData) error

type YubikeyBackend

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

func NewYubikeyBackend

func NewYubikeyBackend(pod *pods.YubikeyPod) (*YubikeyBackend, error)

func (*YubikeyBackend) Read

func (f *YubikeyBackend) Read() (*x509.Certificate, error)

func (*YubikeyBackend) Write

func (f *YubikeyBackend) Write(certData *pki.CertData) error

Jump to

Keyboard shortcuts

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