aitp-crypto 0.3.0

Ed25519/P-256 signing, JWK thumbprint, and compact-JWS primitives for AITP
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Ed25519 / P-256 signing keys, verifying keys, JWK thumbprints, and
//! the compact-JWS profile for portable trust artifacts
//! (RFC-AITP-0001 ยง5.4.5).

#![forbid(unsafe_code)]
#![warn(missing_docs)]

pub mod error;
pub mod jws;
pub mod keys;
pub mod thumbprint;

pub use error::CryptoError;
pub use keys::{AitpSigningKey, AitpVerifyingKey, Signature, SignatureAlgorithm};
pub use thumbprint::{compute_jwk_thumbprint, compute_jwk_thumbprint_p256};