Abstract
An invariant polynomial s(t) is defined for framed knots in the solid torus. The coefficients are Vassiliev invariants of order one. An invariant polynomial A(t) of Legendrian curves is introduced and it is shown how to calculate it from their fronts. The coefficient of A(t) of the order n term is the restriction to the discriminant of the selftangencies with partial index n of the Arnold invariant J+ of wave fronts. The polynomial A(t) of a Legendrian curve is recovered from the polynomial s(t) of the Legendrian knot, provided with its natural contact framing.