commit | 40a4fd2ea12b5d845563bd7e8580013baadf6a3f | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Sat Dec 31 09:50:37 2022 +0000 |
committer | Andrew Scull <ascull@google.com> | Mon Jan 09 13:23:39 2023 +0000 |
tree | 703f1e956ce4240b326cc095803b1da8760e0fb1 | |
parent | 4c8ff84b6a50f775443a0f811a23b43ca507736a [diff] |
Encapsulate payload state Encapsulate the payload state and only allow valid payloads to be constructed. The hashes in the payload must be one of the approved sizes and the subject and issuer should have some contents. Test: atest libcert_request_validator_tests Change-Id: Ic3554853429d5ad936e3ed7949ba6c3f160a9d55