# solana_switchboard_attestation_program_sdk This is the solana program module to be used along with the Switchboard Attestation Client Use this module to verify attestions match a certain enclave measurement and the associated signer. ``` let sgx_quote_account_info = ; let quote_key = sgx_quote_account_info.key; let mr_enclave = "IN0WD0ApAbKcAFBHK6xYS5QyToq7oJdnIVRJyq6brdM="; let quote_data = sgx_quote_account_info.try_borrow_data().unwrap(); // TODO: check discriminator let quote = bytemuck::from_bytes::(&data[8..]); quote.check_measurement(mr_enclave.into(), quote_key, Clock::get())?; msg!("Attestation for key {:?} verified.") msg!("Key is bound to {}, sgx_quote_account_info.key, mr_enclave); ```