pub struct AuditSection {
pub pii_cipher: String,
pub dek_backend: String,
pub kms_auto_promote: String,
pub signature_class: String,
pub compliance_tier: u8,
}Expand description
Audit / crypto stance — compliance tier classification.
Fields§
§pii_cipher: StringPII AEAD family identifier — e.g. "xchacha20-poly1305",
"aes-256-gcm", "aes-256-gcm-siv".
dek_backend: StringDEK backend identifier — "software-kek" (Tier-0 dev only),
"hsm", "aws-kms", "gcp-kms", etc.
kms_auto_promote: StringKMS auto-promote policy — "manual" (operator approval) or
"after_60min" (auto-promote after 60 minutes of health-check
consensus).
signature_class: StringAudit receipt signature class (the E13 axiom). Wire format
accepts "ed25519" / "ml-dsa-65" / "hybrid". Forge L2
attestation emits "ed25519".
compliance_tier: u8Compliance tier — 0 (software KEK, dev), 1 (single KMS
free-tier), 2 (production Multi-KMS + threshold HSM).
Trait Implementations§
Source§impl Clone for AuditSection
impl Clone for AuditSection
Source§fn clone(&self) -> AuditSection
fn clone(&self) -> AuditSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuditSection
impl Debug for AuditSection
Source§impl<'de> Deserialize<'de> for AuditSection
impl<'de> Deserialize<'de> for AuditSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuditSection
impl PartialEq for AuditSection
Source§fn eq(&self, other: &AuditSection) -> bool
fn eq(&self, other: &AuditSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuditSection
impl Serialize for AuditSection
impl Eq for AuditSection
impl StructuralPartialEq for AuditSection
Auto Trait Implementations§
impl Freeze for AuditSection
impl RefUnwindSafe for AuditSection
impl Send for AuditSection
impl Sync for AuditSection
impl Unpin for AuditSection
impl UnsafeUnpin for AuditSection
impl UnwindSafe for AuditSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.