idemixca

package
v1.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateIssuerKey

func GenerateIssuerKey() ([]byte, []byte, error)

GenerateIssuerKey invokes Idemix library to generate an issuer (CA) signing key pair currently two attributes are supported by the issuer: AttributeNameOU is the organization unit name AttributeNameRole is the role (member or admin) name Generated keys are serialized to bytes

func GenerateSignerConfig

func GenerateSignerConfig(isAdmin bool, ouString string, key *idemix.IssuerKey) ([]byte, error)

GenerateMSPConfig creates a new MSP config If the new MSP config contains a signer then it generates a fresh user secret and issues a credential with two attributes (described above) using the CA's key pair from the file If the new MSP config does not contain a signer (meaning it is used only for verification) then only a public key of the CA (issuer) is added to the MSP config (besides the name)

Types

This section is empty.

Jump to

Keyboard shortcuts

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