Function yubihsm::commands::sign_eddsa::sign_ed25519[][src]

pub fn sign_ed25519<C, T>(
    session: &mut Session<C>,
    key_id: ObjectId,
    data: T
) -> Result<Ed25519Signature, SessionError> where
    C: Connector,
    T: Into<Vec<u8>>, 

Compute an Ed25519 signature with the given key ID