idemixca

package
v1.1.0-preview Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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