msp

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLIENT = iota
	ORDERER
	PEER
	ADMIN
)
View Source
const (
	CLIENTOU  = "client"
	PEEROU    = "peer"
	ADMINOU   = "admin"
	ORDEREROU = "orderer"
)

Variables

This section is empty.

Functions

func GenerateLocalMSP

func GenerateLocalMSP(baseDir, name string, sans []string, signCA, tlsCA *ca2.CA, nodeType int, nodeOUs, hsm bool, pk *ecdsa.PublicKey) error

func GenerateVerifyingMSP

func GenerateVerifyingMSP(
	baseDir string,
	signCA,
	tlsCA *ca2.CA,
	nodeOUs bool,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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