store

package
v0.0.0-...-9f1eba6 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertEntry

type CertEntry struct {
	Data []byte
}

type DataStore

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

//////////////////////////////////////////////////////////////////////////////

func New

func New(id, role, storePath string) (*DataStore, error)

//////////////////////////////////////////////////////////////////////////////

func (*DataStore) Close

func (d *DataStore) Close() error

//////////////////////////////////////////////////////////////////////////////

func (*DataStore) Pool

func (d *DataStore) Pool() (*x509.CertPool, error)

//////////////////////////////////////////////////////////////////////////////

func (*DataStore) RemoveCert

func (d *DataStore) RemoveCert(id string) error

//////////////////////////////////////////////////////////////////////////////

func (*DataStore) StoreCert

func (d *DataStore) StoreCert(id string, certPath string) error

//////////////////////////////////////////////////////////////////////////////

Jump to

Keyboard shortcuts

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