alan-turing-institute / trustchain

Trustworthy decentralised PKI
https://alan-turing-institute.github.io/trustchain/
Apache License 2.0
11 stars 5 forks source link

Implement type state pattern for IONVerifier #101

Closed sgreenbury closed 1 year ago

sgreenbury commented 1 year ago

An IONVerifier may be used in two contexts for retrieving bundles:

The API for the IONVerifier can be refactored to perform the required new() and fetch_bundle() calls depending on these two contexts using the type state pattern.

sgreenbury commented 1 year ago