@@ -285,13 +285,12 @@ impl ClientBuilder {
285285 self
286286 }
287287
288- pub ( crate ) fn build < PSS , PS , PC , QS , QDS , TS , TDS , ES , F > (
288+ pub ( crate ) fn build < PSS , PS , PC , QS , TS , TDS , ES , F > (
289289 self ,
290290 pckcerts_service : PSS ,
291291 pckcert_service : PS ,
292292 pckcrl_service : PC ,
293293 qeid_service : QS ,
294- tdqeid_service : QDS ,
295294 tcbinfo_service : TS ,
296295 tcbinfotdx_service : TDS ,
297296 tcb_evaluation_data_numbers_service : ES ,
@@ -302,7 +301,6 @@ impl ClientBuilder {
302301 PS : for < ' a > PckCertService < ' a > + Sync + Send + ' static ,
303302 PC : for < ' a > PckCrlService < ' a > + Sync + Send + ' static ,
304303 QS : for < ' a > QeIdService < ' a > + Sync + Send + ' static ,
305- QDS : for < ' a > QeIdService < ' a > + Sync + Send + ' static ,
306304 TS : for < ' a > TcbInfoService < ' a , platform:: SGX > + Sync + Send + ' static ,
307305 TDS : for < ' a > TcbInfoService < ' a , platform:: TDX > + Sync + Send + ' static ,
308306 ES : for < ' a > TcbEvaluationDataNumbersService < ' a > + Sync + Send + ' static ,
@@ -313,7 +311,6 @@ impl ClientBuilder {
313311 pckcert_service,
314312 pckcrl_service,
315313 qeid_service,
316- tdqeid_service,
317314 tcbinfo_service,
318315 tcbinfotdx_service,
319316 tcb_evaluation_data_numbers_service,
@@ -475,20 +472,18 @@ pub struct Client<F: for<'a> Fetcher<'a>> {
475472 CachedService < PckCert < Unverified > , dyn for < ' a > PckCertService < ' a > + Sync + Send > ,
476473 pckcrl_service : CachedService < PckCrl < Unverified > , dyn for < ' a > PckCrlService < ' a > + Sync + Send > ,
477474 qeid_service : CachedService < QeIdentitySigned , dyn for < ' a > QeIdService < ' a > + Sync + Send > ,
478- tdqeid_service : CachedService < QeIdentitySigned , dyn for < ' a > QeIdService < ' a > + Sync + Send > ,
479475 tcbinfo_service : CachedService < TcbInfo < platform:: SGX > , dyn for < ' a > TcbInfoService < ' a , platform:: SGX > + Sync + Send > ,
480476 tcbinfotdx_service : CachedService < TcbInfo < platform:: TDX > , dyn for < ' a > TcbInfoService < ' a , platform:: TDX > + Sync + Send > ,
481477 tcb_evaluation_data_numbers_service : CachedService < RawTcbEvaluationDataNumbers , dyn for < ' a > TcbEvaluationDataNumbersService < ' a > + Sync + Send > ,
482478 fetcher : F ,
483479}
484480
485481impl < F : for < ' a > Fetcher < ' a > > Client < F > {
486- fn new < PSS , PS , PC , QS , QDS , TS , TDS , ES > (
482+ fn new < PSS , PS , PC , QS , TS , TDS , ES > (
487483 pckcerts_service : PSS ,
488484 pckcert_service : PS ,
489485 pckcrl_service : PC ,
490486 qeid_service : QS ,
491- tdqeid_service : QDS ,
492487 tcbinfo_service : TS ,
493488 tcbinfotdx_service : TDS ,
494489 tcb_evaluation_data_numbers_service : ES ,
@@ -502,7 +497,6 @@ impl<F: for<'a> Fetcher<'a>> Client<F> {
502497 PS : for < ' a > PckCertService < ' a > + Sync + Send + ' static ,
503498 PC : for < ' a > PckCrlService < ' a > + Sync + Send + ' static ,
504499 QS : for < ' a > QeIdService < ' a > + Sync + Send + ' static ,
505- QDS : for < ' a > QeIdService < ' a > + Sync + Send + ' static ,
506500 TS : for < ' a > TcbInfoService < ' a , platform:: SGX > + Sync + Send + ' static ,
507501 TDS : for < ' a > TcbInfoService < ' a , platform:: TDX > + Sync + Send + ' static ,
508502 ES : for < ' a > TcbEvaluationDataNumbersService < ' a > + Sync + Send + ' static
@@ -540,14 +534,6 @@ impl<F: for<'a> Fetcher<'a>> Client<F> {
540534 cache_capacity,
541535 cache_shelf_time,
542536 ) ,
543- tdqeid_service : CachedService :: new (
544- BackoffService :: new (
545- PcsService :: new ( Box :: new ( tdqeid_service) ) ,
546- retry_timeout. clone ( ) ,
547- ) ,
548- cache_capacity,
549- cache_shelf_time,
550- ) ,
551537 tcbinfo_service : CachedService :: new (
552538 BackoffService :: new (
553539 PcsService :: new ( Box :: new ( tcbinfo_service) ) ,
@@ -597,8 +583,6 @@ pub trait ProvisioningClient {
597583
598584 fn qe_identity ( & self , evaluation_data_number : Option < u16 > ) -> Result < QeIdentitySigned , Error > ;
599585
600- fn tdqe_identity ( & self , evaluation_data_number : Option < u16 > ) -> Result < QeIdentitySigned , Error > ;
601-
602586 /// Retrieve PCK certificates using `pckcerts()` and fallback to the
603587 /// following method if that's not supported:
604588 /// 1. Call `pckcert()` with PCK ID to get best available PCK cert.
@@ -726,11 +710,6 @@ impl<F: for<'a> Fetcher<'a>> ProvisioningClient for Client<F> {
726710 self . qeid_service . call_service ( & self . fetcher , & input)
727711 }
728712
729- fn tdqe_identity ( & self , tcb_evaluation_data_number : Option < u16 > ) -> Result < QeIdentitySigned , Error > {
730- let input = self . qeid_service . pcs_service ( ) . build_input ( tcb_evaluation_data_number) ;
731- self . tdqeid_service . call_service ( & self . fetcher , & input)
732- }
733-
734713 fn tcb_evaluation_data_numbers ( & self ) -> Result < RawTcbEvaluationDataNumbers , Error > {
735714 let input = self . tcb_evaluation_data_numbers_service . pcs_service ( ) . build_input ( ) ;
736715 self . tcb_evaluation_data_numbers_service . call_service ( & self . fetcher , & input)
0 commit comments