Skip to main content

prikk_object/
lib.rs

1#![forbid(unsafe_code)]
2#![warn(missing_docs)]
3
4//! Object identity and canonical payload definitions for Prikk.
5//!
6//! This crate deliberately does **not** use protobuf bytes for object identity. It implements a
7//! small deterministic canonical encoder seed that can be extended as FDD-03 matures.
8
9pub mod canonical;
10pub mod envelope;
11pub mod id;
12pub mod payload;
13pub mod signature;
14
15#[cfg(test)]
16mod vectors;
17
18pub use canonical::{CanonicalEncode, CanonicalWriter, WireType};
19pub use envelope::ObjectEnvelope;
20pub use id::{OBJECT_ID_DOMAIN, ObjectId, ObjectType};
21pub use payload::*;
22pub use signature::{Signature, SignatureAlgorithm, SignerRole};