security: Make Discharge a struct (instead of an interface).

This commit accompanies:
https://vanadium-review.googlesource.com/#/c/5432/

Motivation:
(1) Will allow us to eventually use VDL support for automatic
translation between wire and native types, thereby relieving
developers of the need to manually convert to the WireDischarge format

(2) Discharges are not meant to be implemented outside the v23/security
package anyway as all processes must be able to understand them
(i.e., no user-defined ThirdPartyCaveats/Discharges)

MultiPart: 2/2
Change-Id: Ib145ff7d9f4c3a1786e2a9c876c22552a5fb99d6
6 files changed
tree: f8d7cd22e238eea4f77944775de4011321d5a7c8
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/