public static void C_DigestInit(CK_SESSION_HANDLE session, CK_MECHANISM mech)
 {
     CK_MECHANISM.Native m = new CK_MECHANISM.Native(mech);
     try { CKR_Exception.check(fl.C_DigestInit(session.Handle, m), "C_DigestInit"); }
     finally { m.Free(); }
 }
 public static void C_VerifyInit(CK_SESSION_HANDLE session, CK_MECHANISM mech, CK_OBJECT_HANDLE key)
 {
     CK_MECHANISM.Native m = new CK_MECHANISM.Native(mech);
     try { CKR_Exception.check(fl.C_VerifyInit(session.Handle, m, key.Handle), "C_VerifyInit"); }
     finally { m.Free(); }
 }