Skip to content
  • Sietse Ringers's avatar
    refactor: resolve code duplication in irmaconfig.go · 5400bada
    Sietse Ringers authored
    - All code related to schemes has been moved to schemes.go.
    - Code that is specific to a scheme type has been converted to methods on
      the relevant scheme struct, which both implement the new scheme interface.
    - Code that is the same for both scheme types (downloading, updating, installing,
      parsing the index, verifying signature, reading timestamp) remain methods on
      irma.Configuration, which invoke methods on the new scheme interface when
      necessary.
    5400bada