Skip to main content

sigstore_types/
lib.rs

1//! Core types and data structures for Sigstore
2//!
3//! This crate provides the fundamental data structures used throughout the Sigstore
4//! ecosystem, including bundle formats, transparency log entries, and trust roots.
5
6pub mod artifact;
7pub mod bundle;
8pub mod checkpoint;
9pub mod dsse;
10pub mod encoding;
11pub mod error;
12pub mod hash;
13pub mod intoto;
14
15pub use artifact::Artifact;
16pub use bundle::{
17    Bundle, BundleVersion, CheckpointData, InclusionPromise, InclusionProof, KindVersion, LogId,
18    MediaType, MessageDigest, MessageSignature, SignatureContent, TransparencyLogEntry,
19    VerificationMaterial,
20};
21pub use checkpoint::{Checkpoint, CheckpointSignature};
22pub use dsse::{pae, DsseEnvelope, DsseSignature};
23pub use encoding::{
24    base64_bytes, base64_bytes_option, hex_bytes, string_i64, CanonicalizedBody, DerCertificate,
25    DerPublicKey, EntryUuid, HexHash, HexLogId, KeyHint, KeyId, LogIndex, LogKeyId, PayloadBytes,
26    PemContent, Sha256Hash, SignatureBytes, SignedTimestamp, TimestampToken,
27};
28pub use error::{Error, Result};
29pub use hash::HashAlgorithm;
30pub use intoto::{Digest, Statement, Subject};