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 path;
13pub mod payload;
14pub mod signature;
15
16#[cfg(test)]
17mod vectors;
18
19pub use canonical::{CanonicalEncode, CanonicalWriter, WireType};
20pub use envelope::{ObjectEnvelope, SignatureEnvelopeIssues};
21pub use id::{OBJECT_ID_DOMAIN, ObjectId, ObjectType};
22pub use path::{ascii_fold, is_windows_reserved_name, validate_repo_path};
23pub use payload::*;
24pub use signature::{ED25519_SIGNATURE_LEN, Signature, SignatureAlgorithm, SignerRole};