Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllIssuingValidator ¶
type AllIssuingValidator struct {
Deserializer identity.Deserializer
}
AllIssuingValidator allows all members of a channel to issue new tokens.
func (*AllIssuingValidator) Validate ¶
func (p *AllIssuingValidator) Validate(creator identity.PublicInfo, tokenType string) error
Validate returns no error if the passed creator can issue tokens of the passed type,, an error otherwise.
type FabricIdentityDeserializerManager ¶
type FabricIdentityDeserializerManager struct { }
FabricIdentityDeserializerManager implements an DeserializerManager by routing the call to the msp/mgmt package
func (*FabricIdentityDeserializerManager) Deserializer ¶
func (*FabricIdentityDeserializerManager) Deserializer(channel string) (identity.Deserializer, error)
type FabricTokenOwnerValidator ¶
type FabricTokenOwnerValidator struct {
Deserializer identity.Deserializer
}
FabricTokenOwnerValidator checks that an owner is valid identity in a given channel
func (*FabricTokenOwnerValidator) Validate ¶
func (v *FabricTokenOwnerValidator) Validate(owner *token.TokenOwner) error
type Manager ¶
type Manager struct {
IdentityDeserializerManager identity.DeserializerManager
}
Manager is used to access TMS components.
func (*Manager) GetTxProcessor ¶
func (m *Manager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)
GetTxProcessor returns a TMSTxProcessor that is used to process token transactions.
Click to show internal directories.
Click to hide internal directories.