pub struct Integrity {
pub prompt_hash: String,
pub response_hash: String,
pub ed25519_signature: String,
pub mldsa_signature: String,
pub signing_key_id: String,
}Expand description
Cryptographic fields of a signed record. Phase 1 must populate BOTH ed25519 and ML-DSA signatures (Day-1 PQC).
Fields§
§prompt_hash: StringBlake3 hash of the prose input (hex).
response_hash: StringBlake3 hash of the model response (hex).
ed25519_signature: StringClassical ed25519 signature over the canonicalized record (hex).
mldsa_signature: StringPost-quantum ML-DSA (FIPS 204) signature (hex). Required.
signing_key_id: StringIdentifier of the signing key pair.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Integrity
impl<'de> Deserialize<'de> for Integrity
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
Auto Trait Implementations§
impl Freeze for Integrity
impl RefUnwindSafe for Integrity
impl Send for Integrity
impl Sync for Integrity
impl Unpin for Integrity
impl UnsafeUnpin for Integrity
impl UnwindSafe for Integrity
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more