Documentation ¶
Index ¶
- Constants
- func CurveIDToString(id math3.CurveID) string
- func IsAries(tms *topology.TMS) bool
- func WithAries(tms *topology.TMS)
- type CryptoMaterialGenerator
- func (d *CryptoMaterialGenerator) GenerateAuditorIdentities(tms *topology.TMS, n *node.Node, auditors ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateCertifierIdentities(tms *topology.TMS, node *node.Node, certifiers ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateIssuerIdentities(tms *topology.TMS, n *node.Node, issuers ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) GenerateOwnerIdentities(tms *topology.TMS, n *node.Node, owners ...string) []generators.Identity
- func (d *CryptoMaterialGenerator) Idemixgen(command common.Command) (*gexec.Session, error)
- func (d *CryptoMaterialGenerator) Setup(tms *topology.TMS) (string, error)
- func (d *CryptoMaterialGenerator) StartSession(cmd *exec.Cmd, name string) (*gexec.Session, error)
Constants ¶
View Source
const (
RemoteOwnerWallet = "##remote##"
)
Variables ¶
This section is empty.
Functions ¶
func CurveIDToString ¶
Types ¶
type CryptoMaterialGenerator ¶
type CryptoMaterialGenerator struct { FabTokenGenerator *fabtoken.CryptoMaterialGenerator TokenPlatform generators.TokenPlatform DefaultCurve string EventuallyTimeout time.Duration ColorIndex int RevocationHandlerIndex int }
func NewCryptoMaterialGenerator ¶
func NewCryptoMaterialGenerator(tokenPlatform generators.TokenPlatform, defaultCurveID math3.CurveID, builder api.Builder) *CryptoMaterialGenerator
func NewCryptoMaterialGeneratorWithCurveIdentifier ¶ added in v0.3.0
func NewCryptoMaterialGeneratorWithCurveIdentifier(tokenPlatform generators.TokenPlatform, curveID string, builder api.Builder) *CryptoMaterialGenerator
func (*CryptoMaterialGenerator) GenerateAuditorIdentities ¶
func (d *CryptoMaterialGenerator) GenerateAuditorIdentities(tms *topology.TMS, n *node.Node, auditors ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateCertifierIdentities ¶
func (d *CryptoMaterialGenerator) GenerateCertifierIdentities(tms *topology.TMS, node *node.Node, certifiers ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateIssuerIdentities ¶
func (d *CryptoMaterialGenerator) GenerateIssuerIdentities(tms *topology.TMS, n *node.Node, issuers ...string) []generators.Identity
func (*CryptoMaterialGenerator) GenerateOwnerIdentities ¶
func (d *CryptoMaterialGenerator) GenerateOwnerIdentities(tms *topology.TMS, n *node.Node, owners ...string) []generators.Identity
func (*CryptoMaterialGenerator) Setup ¶
func (d *CryptoMaterialGenerator) Setup(tms *topology.TMS) (string, error)
func (*CryptoMaterialGenerator) StartSession ¶
Click to show internal directories.
Click to hide internal directories.