identity

package
v0.0.0-...-06981e3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDifferentMSPID = errors.New("Client identity MSP is different")
)

Technical identity errors TODO: make errors constant

Functions

func AssertClientMSPID

func AssertClientMSPID(cid cid.ClientIdentity, mspID string) (err error)

func AssertClientOU

func AssertClientOU(cid cid.ClientIdentity, ou string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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