persistence

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileCertStore

func NewFileCertStore(cryptoConfogMspPath string) (kvstore.KVStore, error)

NewFileCertStore ...

func NewFileKeyStore

func NewFileKeyStore(cryptoConfogMspPath string) (kvstore.KVStore, error)

NewFileKeyStore ...

Types

type CertKey

type CertKey struct {
	MspID    string
	UserName string
}

CertKey is a composite key for accessing a cert in the cert store

type PrivKeyKey

type PrivKeyKey struct {
	MspID    string
	UserName string
	SKI      []byte
}

PrivKeyKey is a composite key for accessing a private key in the key store

Jump to

Keyboard shortcuts

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