Documentation ¶
Index ¶
- type Options
- func (o *Options) AddNetworkOrganization(network, org string)
- func (o *Options) AddOrganization(org string)
- func (o *Options) AnonymousIdentity() bool
- func (o *Options) DefaultIdentityByHSM() bool
- func (o *Options) DefaultIdentityLabel() string
- func (o *Options) DefaultNetwork() string
- func (o *Options) IdemixIdentities() []string
- func (o *Options) Organizations() []Organization
- func (o *Options) Role() string
- func (o *Options) SetAnonymousIdentity(v bool)
- func (o *Options) SetDefaultIdentityByHSM(v bool)
- func (o *Options) SetDefaultIdentityLabel(label string)
- func (o *Options) SetDefaultNetwork(defaultNetwork string)
- func (o *Options) SetHSMX509Identities(ids []string)
- func (o *Options) SetIdemixIdentities(ids []string)
- func (o *Options) SetRole(org string)
- func (o *Options) SetX509Identities(ids []string)
- func (o *Options) X509Identities() []string
- func (o *Options) X509IdentitiesByHSM() []string
- type Organization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Mapping map[string]interface{}
}
func (*Options) AddNetworkOrganization ¶
func (*Options) AddOrganization ¶
func (*Options) AnonymousIdentity ¶
func (*Options) DefaultIdentityByHSM ¶
DefaultIdentityByHSM return true if the default identity is an HSM identity
func (*Options) DefaultIdentityLabel ¶
DefaultIdentityLabel returns the label of the default identity. If empty, it will then be set to the FSC node's name.
func (*Options) DefaultNetwork ¶
func (*Options) IdemixIdentities ¶
func (*Options) Organizations ¶
func (o *Options) Organizations() []Organization
func (*Options) SetAnonymousIdentity ¶
func (*Options) SetDefaultIdentityByHSM ¶
SetDefaultIdentityByHSM sets the default identity to be an HSM identity
func (*Options) SetDefaultIdentityLabel ¶
SetDefaultIdentityLabel sets the label of the default identity. The default identity is an X509 identity.
func (*Options) SetDefaultNetwork ¶
func (*Options) SetHSMX509Identities ¶
SetHSMX509Identities sets the list of HSM X509 identity identifiers
func (*Options) SetIdemixIdentities ¶
func (*Options) SetX509Identities ¶
func (*Options) X509Identities ¶
func (*Options) X509IdentitiesByHSM ¶
X509IdentitiesByHSM returns the list of HSM X509 identity identifiers
type Organization ¶
Click to show internal directories.
Click to hide internal directories.