When installing Asphalt Hexagonal shingles what is the correct length of the nails to use ?

When installing Asphalt Hexagonal shingles what is the correct length of the nails to use ?