Skip to main content

sigstore_crypto/
lib.rs

1//! Cryptographic primitives for Sigstore
2//!
3//! This crate provides key generation, signing, and verification functionality
4//! using aws-lc-rs as the cryptographic backend.
5
6pub mod checkpoint;
7pub mod error;
8pub mod hash;
9pub mod keyring;
10pub mod signing;
11pub mod verification;
12pub mod x509;
13
14pub use checkpoint::{
15    compute_key_hint, detect_key_type, extract_raw_key, verify_ecdsa_p256, verify_ed25519,
16    verify_signature_auto, Checkpoint, CheckpointSignature, CheckpointVerifyExt, KeyType,
17};
18pub use error::{Error, Result};
19pub use hash::{sha256, sha256_reader, Sha256Hasher};
20pub use keyring::Keyring;
21pub use signing::{KeyPair, SigningScheme};
22pub use verification::{verify_signature, verify_signature_prehashed, VerificationKey};
23pub use x509::{parse_certificate_info, CertificateInfo};