Versions in this module Expand all Collapse all v0 v0.3.0 Oct 5, 2023 v0.2.0 Dec 7, 2022 Changes in this version + type PublicParamsLoader interface + Fetch func() ([]byte, error) + FetchParams func() (*fabtoken.PublicParams, error) + type PublicParamsManager struct + Mutex sync.RWMutex + PP *fabtoken.PublicParams + PPLabel string + PublicParamsLoader PublicParamsLoader + Vault Vault + func NewPublicParamsManager(PPLabel string, vault Vault, publicParamsLoader PublicParamsLoader) *PublicParamsManager + func NewPublicParamsManagerFromParams(pp *fabtoken.PublicParams) (*PublicParamsManager, error) + func (v *PublicParamsManager) AuditorIdentity() view.Identity + func (v *PublicParamsManager) Fetch() ([]byte, error) + func (v *PublicParamsManager) Issuers() [][]byte + func (v *PublicParamsManager) Load() error + func (v *PublicParamsManager) NewCertifierKeyPair() ([]byte, []byte, error) + func (v *PublicParamsManager) PublicParameters() driver.PublicParameters + func (v *PublicParamsManager) PublicParams() *fabtoken.PublicParams + func (v *PublicParamsManager) SerializePublicParameters() ([]byte, error) + func (v *PublicParamsManager) SetPublicParameters(raw []byte) error + func (v *PublicParamsManager) Validate() error + type Vault interface + PublicParams func() ([]byte, error)