Versions in this module Expand all Collapse all v0 v0.2.0 Aug 27, 2018 Changes in this version type Conf + ASConf *as_conf.ASConf + MasterKeys *as_conf.MasterKeys v0.1.1 Jul 31, 2018 Changes in this version type Conf + RequestID messenger.Counter v0.1.0 Jul 19, 2018 Changes in this version + const CustomersDir + const ErrorAddr + const ErrorConfNil + const ErrorCustomers + const ErrorIssCert + const ErrorKeyConf + const ErrorStore + const ErrorTopo + const ErrorTrustDB + const IssuerReissTime + const KeyChanged + const NotACustomer + const ReissReqRate + func Set(c *Conf) + type Conf struct + BindAddr *snet.Addr + CacheDir string + ConfDir string + Customers *Customers + ID string + IssuerReissTime time.Duration + LeafReissTime time.Duration + PublicAddr *snet.Addr + ReissRate time.Duration + StateDir string + Store *trust.Store + Topo *topology.Topo + TrustDB *trustdb.DB + func Get() *Conf + func Load(id string, confDir string, cacheDir string, stateDir string) (*Conf, error) + func ReloadConf(oldConf *Conf) (*Conf, error) + func (c *Conf) GetDecryptKey() common.RawBytes + func (c *Conf) GetIssSigningKey() common.RawBytes + func (c *Conf) GetOnRootKey() common.RawBytes + func (c *Conf) GetSigner() ctrl.Signer + func (c *Conf) GetSigningKey() common.RawBytes + func (c *Conf) GetVerifier() ctrl.SigVerifier + func (c *Conf) LoadCustomers() (*Customers, error) + func (c *Conf) SetSigner(signer ctrl.Signer) + func (c *Conf) SetVerifier(verifier ctrl.SigVerifier) + type Customers struct + func (c *Customers) GetVerifyingKey(ia addr.IA) (common.RawBytes, error) + func (c *Customers) SetVerifyingKey(ia addr.IA, ver uint64, newKey, oldKey common.RawBytes) error