feat(api): add Intel DCAP API client module

Introduced a new `intel-dcap-api` crate for interacting with Intel's DCAP APIs.
- Implemented various API client functionalities for SGX/TDX attestation services.
- Added support for registration, certification, enclave identity, and FMSPC retrieval.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-04-09 16:29:37 +02:00
parent 93c35dad38
commit ed84a424db
Signed by: harald
GPG key ID: F519A1143B3FBE32
11 changed files with 1939 additions and 1 deletions

View file

@ -0,0 +1,27 @@
[package]
name = "intel-dcap-api"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords = ["sgx", "tdx", "intel", "attestation", "confidential"]
categories = ["api-bindings", "cryptography", "authentication"]
[dependencies]
percent-encoding = "2.3.1"
reqwest = { workspace = true, features = ["json"] }
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tokio.workspace = true
url.workspace = true
[dev-dependencies]
hex.workspace = true
x509-cert.workspace = true
[features]
default = ["reqwest/default-tls"]
rustls = ["reqwest/rustls-tls"]