yubihsm 0.35.0

Pure Rust client for YubiHSM2 devices with support for HTTP and USB-based access to the device. Supports most HSM functionality including ECDSA, Ed25519, HMAC, and RSA.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! RSASSA-PSS: Probabilistic Signature Scheme based on the RSASP1 and RSAVP1
//! primitives with the EMSA-PSS encoding method.

mod algorithm;
#[cfg(feature = "untested")]
pub(crate) mod commands;
#[cfg(feature = "untested")]
mod signature;

/// Maximum message size supported for RSASSA-PSS
#[cfg(feature = "untested")]
pub const MAX_MESSAGE_SIZE: usize = 0xFFFF;

pub use self::algorithm::Algorithm;
#[cfg(feature = "untested")]
pub use self::signature::Signature;