text: #include "md_store.h"
  Go to the source code of this file.
  Bitmask for fields that are updated.
  Callback invoked for every md in the registry. If 0 is returned, iteration stops.
  A registry for managed domains with a md_store_t as persistence.
  Add a new md to the registry. This will check the name for uniqueness and that domain names do not overlap with already existing mds.
  Cleanup any challenges that are no longer in use.
  Create the MD registry, using the pool and store.
  Delete the account from the local store.
  Invoke callback for all mds in this registry. Order is not guaranteed. If the callback returns 0, iteration stops. Returns 0 if iteration was aborted.
  Find the md, if any, that contains the given domain name. NULL if none found.
  Find one md, which domain names overlap with the given md and that has a different name. There may be more than one existing md that overlaps. It is not defined which one will be returned.
  Mark all information from group MD_SG_DOMAINS as readonly, deny future modifications (MD_SG_STAGING and MD_SG_CHALLENGES remain writeable). For the given MDs, cache the public information (MDs themselves and their pubcerts or lack of).
  Get the md with the given unique name. NULL if it does not exist. Will update the md->state.
  Get the filenames of private key and pubcert of the MD - if they exist.
  Get the chain of public certificates of the managed domain md, starting with the cert of the domain and going up the issuers. Returns APR_ENOENT when not available.
  Load a new set of credentials for the managed domain from STAGING - if it exists. This will archive any existing credential data and make the staged set the new one in DOMAINS. If staging is incomplete or missing, the load will fail and all credentials remain as they are.
  Obtain new credentials for the given managed domain in STAGING.
  Return the timestamp when the certificate should be renewed. A value of 0 indicates that that renewal is not configured (see renew_mode).
  Return if the certificate of the MD should be renewed. This includes reaching the renewal window of an otherwise valid certificate. It return also !0 iff no certificate has been obtained yet.
  Return if a warning should be issued about the certificate expiration. This applies the configured warn window to the remaining lifetime of the current certiciate. If no certificate is present, this returns 0.
  Re-compute the state of the MD, given current store contents.
  Synchronise the give master mds with the store.
  Run a test initialization of the renew protocol for the given MD. This verifies basic parameter settings and is expected to return a description of encountered problems in <pmessage> when != APR_SUCCESS. A message return is allocated fromt the given pool.
  Update the given fields for the managed domain. Take the new values from the given md, all other values remain unchanged.