Parts of this API should only be used after another part of the API. The prime (only?) example is the verify_attestation & verify_measurements functions. These should only be used after the attestation signer cert chain is verified. We can use the type system to do this w/ a few newtypes around the x509_cert::Certificate.
Parts of this API should only be used after another part of the API. The prime (only?) example is the
verify_attestation&verify_measurementsfunctions. These should only be used after the attestation signer cert chain is verified. We can use the type system to do this w/ a few newtypes around thex509_cert::Certificate.