id

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadIdentity

func LoadIdentity(certPath string) ([]byte, error)

func NewProvider

func NewProvider(configProvider ConfigProvider, sigService SigService, endpointService EndpointService) *provider

Types

type ConfigProvider

type ConfigProvider interface {
	GetPath(s string) string
	GetStringSlice(key string) []string
	TranslatePath(path string) string
}

type EndpointService

type EndpointService interface {
	GetIdentity(label string, pkid []byte) (view.Identity, error)
}

type SigService

type SigService interface {
	RegisterSigner(identity view.Identity, signer driver.Signer, verifier driver.Verifier) error
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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