Struct switchboard_solana::attestation_program::types::Quote
source · #[repr(packed)]pub struct Quote {
pub enclave_signer: Pubkey,
pub mr_enclave: [u8; 32],
pub verification_status: u8,
pub verification_timestamp: i64,
pub valid_until: i64,
pub quote_registry: [u8; 32],
pub registry_key: [u8; 64],
pub _ebuf: [u8; 256],
}Fields§
§enclave_signer: PubkeyThe address of the signer generated within an enclave.
mr_enclave: [u8; 32]The quotes MRENCLAVE measurement dictating the contents of the secure enclave.
verification_status: u8The VerificationStatus of the quote.
verification_timestamp: i64The unix timestamp when the quote was last verified.
valid_until: i64The unix timestamp when the quotes verification status expires.
quote_registry: [u8; 32]The off-chain registry where the verifiers quote can be located.
registry_key: [u8; 64]Key to lookup the buffer data on IPFS or an alternative decentralized storage solution.
_ebuf: [u8; 256]Reserved.
Implementations§
Trait Implementations§
source§impl PartialEq<Quote> for Quote
impl PartialEq<Quote> for Quote
impl Copy for Quote
impl StructuralPartialEq for Quote
Auto Trait Implementations§
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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