Documentation
¶
Index ¶
- type Committee
- func (c *Committee) ForwardEpochAuditorParameters(auditor *auditor.Auditor) error
- func (c *Committee) ForwardEpochOrgParameters(org *organization.Organization) error
- func (c *Committee) InitializeEpoch(auditors []*auditor.Auditor, organizations []*organization.Organization) (map[string]crypto.TypePublicKey, error)
- func (c *Committee) PublishPublicKeys() map[string]kyber.Point
- func (c *Committee) VerifyAuditPairResult(orgID1 organization.TypeID, orgID2 organization.TypeID, audID1 auditor.TypeID, ...) (bool, error)
- func (c *Committee) VerifyOrgAndAudResult(orgID organization.TypeID, audID auditor.TypeID, ...) (bool, error)
- type TypeID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Committee ¶
type Committee struct { ID TypeID // contains filtered or unexported fields }
func (*Committee) ForwardEpochAuditorParameters ¶
func (*Committee) ForwardEpochOrgParameters ¶
func (c *Committee) ForwardEpochOrgParameters(org *organization.Organization) error
func (*Committee) InitializeEpoch ¶
func (c *Committee) InitializeEpoch( auditors []*auditor.Auditor, organizations []*organization.Organization, ) (map[string]crypto.TypePublicKey, error)
InitializeEpoch initialize the parameters for an auditing epoch
func (*Committee) PublishPublicKeys ¶
func (*Committee) VerifyAuditPairResult ¶
func (c *Committee) VerifyAuditPairResult( orgID1 organization.TypeID, orgID2 organization.TypeID, audID1 auditor.TypeID, audID2 auditor.TypeID, audChainTX1 *transaction.AudOnChain, audChainTX2 *transaction.AudOnChain, ) (bool, error)
func (*Committee) VerifyOrgAndAudResult ¶
func (c *Committee) VerifyOrgAndAudResult( orgID organization.TypeID, audID auditor.TypeID, orgChainTX *transaction.OrgOnChain, audChainTX *transaction.AudOnChain, ) (bool, error)
Click to show internal directories.
Click to hide internal directories.