pub struct PacketRfc {
pub version: u32,
pub vdf: VdfStructure,
pub jitter_seal: JitterSealStructure,
pub content_hash_tree: ContentHashTree,
pub correlation_proof: CorrelationProof,
pub error_topology: Option<ErrorTopology>,
pub enclave_vise: Option<EnclaveVise>,
pub zk_verdict: Option<ZkProcessVerdict>,
pub profile: Option<ProfileDeclaration>,
pub privacy_budget: Option<PrivacyBudgetCertificate>,
pub key_rotation: Option<KeyRotationMetadata>,
pub extensions: HashMap<String, Value>,
}Expand description
RFC-compliant evidence packet structure.
Uses integer keys (1-19) for compact CBOR encoding per the CDDL schema. The structure is designed for RATS (Remote ATtestation procedureS) compatibility while maintaining privacy-by-construction principles.
Fields§
§version: u32Schema version (always 1 for this version). Key 1 in CDDL.
vdf: VdfStructureVDF structure proving minimum elapsed time. Key 2 in CDDL.
jitter_seal: JitterSealStructureJitter seal structure for behavioral entropy. Key 3 in CDDL.
content_hash_tree: ContentHashTreeContent hash tree (Merkle structure). Key 4 in CDDL.
correlation_proof: CorrelationProofSpearman correlation proof. Key 5 in CDDL.
error_topology: Option<ErrorTopology>Error topology analysis (fractal patterns). Key 6 in CDDL.
enclave_vise: Option<EnclaveVise>Hardware observation post (enclave binding). Key 7 in CDDL.
zk_verdict: Option<ZkProcessVerdict>ZK process verdict for consistency. Key 8 in CDDL.
profile: Option<ProfileDeclaration>Profile declaration (tier and features). Key 9 in CDDL.
privacy_budget: Option<PrivacyBudgetCertificate>Privacy budget certificate. Key 18 in CDDL.
key_rotation: Option<KeyRotationMetadata>Key rotation metadata. Key 19 in CDDL.
extensions: HashMap<String, Value>Vendor extensions (string keys).
Implementations§
Source§impl PacketRfc
impl PacketRfc
Sourcepub fn new_core(
vdf: VdfStructure,
jitter_seal: JitterSealStructure,
content_hash_tree: ContentHashTree,
correlation_proof: CorrelationProof,
) -> Self
pub fn new_core( vdf: VdfStructure, jitter_seal: JitterSealStructure, content_hash_tree: ContentHashTree, correlation_proof: CorrelationProof, ) -> Self
Create a minimal Core-tier packet.