paysec_tr34/lib.rs
1//! ASC X9 TR-34 key transport support for payment security applications.
2//!
3//! This crate currently provides KDH-side two-pass key export using a
4//! provider-neutral cryptographic interface.
5//!
6//! The high-level API emits the complete DER-encoded TR-34 key token.
7//! Certificate-path, revocation, validity, and profile validation remain
8//! the responsibility of the application unless explicitly documented
9//! otherwise.
10
11mod asn1;
12mod credential;
13mod crl;
14mod error;
15mod kdh;
16mod oid;
17mod profile;
18
19pub use credential::{KdhCredential, KrdCredential};
20
21pub use crl::KdhCrl;
22
23pub use error::{Tr34CryptoError, Tr34Error};
24
25pub use kdh::{TwoPassKeyExportRequest, export_key_two_pass};
26
27pub use profile::Tr34Profile;