The get_verification_result method returns a VerificationResult, which contains two sets of TUF keyids.
Typical usage of a VerificationResult entails retrieving the Key objects for those keyids from the corresponding root metadata keystore. It would be useful, if VerificationResult included Key objects right away.
Options are:
- Use sets of Key objects - This requires making the
Key class hashable and immutable, which is possible but maybe overly complicated (see discussion))
- Use lists of Key objects and promise that they only contain unique keys, and optionally provide tooling for set-like operations (see wrapper workaround)
- Use "keyid: Key"- dictionaries (see wrapper workaround)