extracted low-level API into U2fPrimitives