simple_sign/lib.rs
1#![deny(missing_docs)]
2
3//! Simple signing library
4//!
5//! This library provides a simple interface for signing and verifying data.
6
7/// RSA cryptographic primitives used by this crate.
8pub mod rsa;
9
10/// Secp256k1 (ECDSA) signing primitives used by this crate.
11pub mod secp256k1;
12
13/// Ed25519 signing primitives used by this crate.
14pub mod ed25519;
15
16/// Signing/verification types and helpers.
17pub mod signature;
18
19/// Supported signing algorithms and associated metadata.
20pub mod signing_algorithm;
21
22/// Signing interface.
23pub mod signer;
24
25/// Signature error types.
26pub mod signature_error;
27
28pub use ed25519::Ed25519Signer;
29pub use rsa::RsaSigner;
30pub use secp256k1::Secp256k1Signer;
31pub use signature::Signature;
32pub use signature_error::SignatureError;
33pub use signer::Signer;
34pub use signing_algorithm::SigningAlgorithm;