forked from secure-systems-lab/securesystemslib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
payload is a byte sequence of serialized body, stored in Envelope, that need to be parsed according to given payload_type in Envelope. Generic Parser is added, so that a type of Parser can be created according to the requirements of in-toto/tuf. In form of an example JSONParser is added which parse serialized JSON payloads and return them in form of dict. It will be used to test the Payload parsing capabilities of Generic Parser. Signed-off-by: Pradyumna Krishna <[email protected]>
- Loading branch information
1 parent
4413c01
commit 4d1db17
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters