You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/quote-verifier/src/quotes/mod.rs
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,13 @@ use x509_parser::certificate::X509Certificate;
29
29
30
30
/// The TCB info of the QE
31
31
#[derive(Debug,Clone,PartialEq,Eq)]
32
-
pubstructQETCB{
32
+
pubstructQeTcb{
33
33
pubtcb_evaluation_data_number:u32,
34
34
pubtcb_status:EnclaveIdentityV2TcbStatus,
35
35
pubadvisory_ids:Vec<String>,
36
36
}
37
37
38
-
/// common_verify_and_fetch_tcb is a common function that verifies the quote and fetches the TCB info
38
+
/// Verify the quote and return the TCB info of the QE, SGX extensions from the PCK leaf certificate, TCB info of the platform, and the validity intersection of all collaterals
39
39
///
40
40
/// # Arguments
41
41
///
@@ -53,12 +53,12 @@ pub struct QETCB {
53
53
/// # Returns
54
54
///
55
55
/// * A tuple containing:
56
-
/// * The TCB status of the QE
56
+
/// * The TCB info of the QE
57
57
/// * The SGX extensions from the PCK leaf certificate
58
-
/// * The TCB info
58
+
/// * The TCB info of the platform
59
59
/// * The validity intersection of all collaterals
0 commit comments