pub async fn register_attestation(
        &self,
        attestation_quote_bytes: Vec<u8>,
        public_key: &PublicKey,
    ) -> Result<(), TeeProverError> {
        let request = RegisterTeeAttestationRequest {
            attestation: attestation_quote_bytes,
            pubkey: public_key.serialize().to_vec(),
        };
        self.post("/tee/register_attestation", request).await?;
        tracing::info!(
            "Attestation quote was successfully registered for the public key {}",
            public_key
        );
        Ok(())
    }
Registers the attestation quote with the TEE prover interface API, effectively proving that
the private key associated with the given public key was used to sign the root hash within a
trusted execution environment.
core/bin/zksync_tee_prover/src/api_client.rs