pub struct DcapQuoteVerifier {
pub pccs_url: String,
}Expand description
Production QuoteVerifier: full DCAP verification against a PCCS.
Fields§
§pccs_url: StringImplementations§
Trait Implementations§
Source§impl Default for DcapQuoteVerifier
impl Default for DcapQuoteVerifier
Source§impl QuoteVerifier for DcapQuoteVerifier
impl QuoteVerifier for DcapQuoteVerifier
fn measurements<'life0, 'life1, 'async_trait>(
&'life0 self,
raw_quote: &'life1 [u8],
now_unix: u64,
) -> Pin<Box<dyn Future<Output = Result<TdxMeasurements, VerifyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn is_authenticated(&self) -> bool
fn is_authenticated(&self) -> bool
Whether
Self::measurements cryptographically authenticated the quote
(Intel signature) versus merely parsed it. Feeds
crate::AttestationChecks::dcap_quote_valid honestly.Auto Trait Implementations§
impl Freeze for DcapQuoteVerifier
impl RefUnwindSafe for DcapQuoteVerifier
impl Send for DcapQuoteVerifier
impl Sync for DcapQuoteVerifier
impl Unpin for DcapQuoteVerifier
impl UnsafeUnpin for DcapQuoteVerifier
impl UnwindSafe for DcapQuoteVerifier
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more