public ActionResult <CertificateInfo> GetTrustedCertificate([FromServices] ISafeguardLogic safeguard, [FromRoute] string thumbprint) { var trustedCertificate = safeguard.GetTrustedCertificate(thumbprint); return(Ok(trustedCertificate)); }