Commit Graph

4 Commits

Author SHA1 Message Date
Ying Li 61dad28b1e Validate that snapshot and timestamp have required sha256 checksums
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-22 19:16:32 -08:00
Ying Li 4b13e7d358 Refactor RootRole verification into a helper function used by root and targets validation
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-22 19:16:32 -08:00
Ying Li 57e28e4f09 Rename the validation functions and add more tests
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-22 19:16:32 -08:00
Ying Li 8335d194ce Add timestamp metadata validation to the timestamp data structure
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-22 19:16:32 -08:00