Skip to main content

Crate paysec_tr34

Crate paysec_tr34 

Source
Expand description

ASC X9 TR-34 key transport support for payment security applications.

This crate currently provides KDH-side two-pass key export using a provider-neutral cryptographic interface.

The high-level API emits the complete DER-encoded TR-34 key token. Certificate-path, revocation, validity, and profile validation remain the responsibility of the application unless explicitly documented otherwise.

Structs§

KdhCredential
KDH X.509 credential used by TR-34.
KdhCrl
KDH CA certificate revocation list used in TR-34 messages.
KrdCredential
KRD X.509 credential used by TR-34.
TwoPassKeyExportRequest
Parameters for a two-pass TR-34 key export operation.

Enums§

Tr34CryptoError
Error returned by TR-34 operations that may invoke a cryptographic provider.
Tr34Error
Errors produced while constructing, parsing, validating, or serializing TR-34 data.
Tr34Profile
Encoding profile used when producing TR-34 data.

Functions§

export_key_two_pass
Export a key using the selected two-pass TR-34 encoding profile.