Versions in this module Expand all Collapse all v1 v1.1.21 Jul 5, 2021 Changes in this version + var Author = &Authority + var IsAuthEnable = false + type Authority struct + HistoryCertCache *HistoryCertData + func (auth *Authority) Init(conf *types.AuthorityCfg) error + func (auth *Authority) ReloadCert(store *types.HistoryCertStore) error + func (auth *Authority) ReloadCertByHeght(currentHeight int64) error + func (auth *Authority) Validate(signature *types.Signature) error + type HistoryCertData struct + CryptoCfg *core.AuthConfig + CurHeight int64 + NxtHeight int64 + type User struct + Cert []byte + ID string + Key crypto.PrivKey + type UserLoader struct + func (loader *UserLoader) Get(userName, orgName string) (*User, error) + func (loader *UserLoader) Init(configPath string, signType string) error