dcap-qvl 0.3.9

This crate implements the quote verification logic for DCAP (Data Center Attestation Primitives) in pure Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use const_oid::ObjectIdentifier;

const fn oid(s: &str) -> ObjectIdentifier {
    ObjectIdentifier::new_unwrap(s)
}

pub const SGX_EXTENSION: ObjectIdentifier = oid("1.2.840.113741.1.13.1");
pub const PPID: ObjectIdentifier = oid("1.2.840.113741.1.13.1.1");
pub const TCB: ObjectIdentifier = oid("1.2.840.113741.1.13.1.2");
pub const PCEID: ObjectIdentifier = oid("1.2.840.113741.1.13.1.3");
pub const FMSPC: ObjectIdentifier = oid("1.2.840.113741.1.13.1.4");
pub const SGX_TYPE: ObjectIdentifier = oid("1.2.840.113741.1.13.1.5");
pub const PLATFORM_INSTANCE_ID: ObjectIdentifier = oid("1.2.840.113741.1.13.1.6");
pub const PCESVN: ObjectIdentifier = oid("1.2.840.113741.1.13.1.2.17");
pub const CPUSVN: ObjectIdentifier = oid("1.2.840.113741.1.13.1.2.18");