idemixca

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 233

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 four attributes are supported by the issuer: AttributeNameOU is the organization unit name AttributeNameRole is the role (member or admin) name AttributeNameEnrollmentId is the enrollment id AttributeNameRevocationHandle contains the revocation handle, which can be used to revoke this user Generated keys are serialized to bytes.

func GenerateSignerConfig

func GenerateSignerConfig(roleMask int, ouString string, enrollmentId string, revocationHandle int, key *idemix.IssuerKey, revKey *ecdsa.PrivateKey) ([]byte, error)

GenerateSignerConfig creates a new signer config. It generates a fresh user secret and issues a credential with four attributes (described above) using the CA's key pair.

Types

This section is empty.

Jump to

Keyboard shortcuts

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