Function yubihsm::command::sign_ecdsa::sign_ecdsa_sha256 [−][src]
pub fn sign_ecdsa_sha256(
session: &mut Session<UsbAdapter>,
key_id: ObjectId,
data: &[u8]
) -> Result<ECDSASignature, SessionError>
Compute an ECDSA signature of the SHA-256 hash of the given data with the given key ID