Function yubihsm::commands::sign_rsa_pss::sign_rsa_pss_sha256[][src]

pub fn sign_rsa_pss_sha256<A: Adapter>(
    session: &mut Session<A>,
    key_id: ObjectId,
    data: &[u8]
) -> Result<RSAPSSSignature, SessionError>

Compute an RSASSA-PSS signature of the SHA-256 hash of the given data with the given key ID.

WARNING: This method has not been tested and is not confirmed to actually work! Use at your own risk!