[package]
edition = "2018"
name = "pcs"
version = "0.8.3"
authors = ["Fortanix, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Provisioning Certification Service (PCS) data structures.
Data structures related to the Intel Provisioning Certification Service.
DCAP attestation requires handling of DCAP artifacts (e.g., PCK certs, TCB info, ...).
This crate provides an easy interface for these artifacts.
"""
homepage = "https://edp.fortanix.com/"
documentation = "https://edp.fortanix.com/docs/api/pcs/"
readme = false
keywords = [
"sgx",
"enclave",
"dcap",
]
categories = [
"os",
"hardware-support",
]
license = "MPL-2.0"
repository = "https://github.com/fortanix/rust-sgx"
resolver = "2"
[features]
sgx = []
verify = [
"anyhow",
"mbedtls",
"mbedtls/x509",
]
[lib]
name = "pcs"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.b64-ct]
version = "0.1.3"
[dependencies.base16]
version = "0.2"
[dependencies.chrono]
version = "0.4.42"
features = ["now"]
[dependencies.dcap-ql]
version = "0.4.0"
default-features = false
[dependencies.mbedtls]
version = "0.13.1"
features = [
"std",
"time",
]
optional = true
default-features = false
[dependencies.num]
version = "0.2"
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.pkix]
version = "0.2.0"
[dependencies.quick-error]
version = "1.2.3"
[dependencies.rustc-serialize]
version = "0.3"
[dependencies.serde]
version = "1.0.7"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]
[dependencies.sgx-isa]
version = ">=0.4.1, <0.6.0"
default-features = true
[dependencies.sgx_pkix]
version = ">=0.2.0, <0.4.0"
[dependencies.yasna]
version = "0.3"
features = [
"num-bigint",
"bit-vec",
]
[dev-dependencies.hex]
version = "0.4.2"
[dev-dependencies.tempdir]
version = "0.3.7"
[dev-dependencies.test-case]
version = "3.3.1"
[target.'cfg(not(target_env = "sgx"))'.dev-dependencies.reqwest]
version = "0.12"
features = ["blocking"]