pub mod base64;
pub mod bundle;
pub mod digest;
pub mod dsse;
pub mod policy;
pub mod signing;
pub mod types;
pub use bundle::{
bundle_path_for, extract_all_subjects, extract_bundle_digest, extract_predicate_type,
extract_signer_identity, load_bundle, load_bundle_from_str, load_production_trusted_root,
load_trusted_root, load_trusted_root_from_str, multi_subject_bundle_path, parse_cert_info,
verify_bundle, verify_bundle_keyed, verify_bundle_subject_name, verify_bundle_with_digest,
verify_keyed_signature, Bundle, CertificateInfo, DerPublicKey, Sha256Hash,
SigstoreVerificationResult, TrustedRoot, VerificationPolicy,
};
pub use digest::{bytes_digest, file_digest};
pub use dsse::{
new_envelope, new_instruction_statement, new_multi_subject_statement, new_policy_statement,
new_statement, pae, DsseEnvelope, DsseSignature, InTotoStatement, InTotoSubject,
IN_TOTO_PAYLOAD_TYPE, IN_TOTO_STATEMENT_TYPE, NONO_MULTI_SUBJECT_PREDICATE_TYPE,
NONO_POLICY_PREDICATE_TYPE, NONO_PREDICATE_TYPE,
};
pub use policy::{
evaluate_file, find_instruction_files, load_policy_from_file, load_policy_from_str,
merge_policies,
};
pub use signing::{
export_public_key, generate_signing_key, key_id_hex, sign_bytes, sign_files,
sign_instruction_file, sign_policy_bytes, sign_policy_file, write_bundle, KeyPair,
SigningScheme, MAX_MULTI_SUBJECT_FILES,
};
pub use types::{
BlockedPublisher, Blocklist, BlocklistEntry, Enforcement, InstructionPatterns, Publisher,
SignerIdentity, TrustPolicy, VerificationOutcome, VerificationResult, TRUST_POLICY_VERSION,
};