First he used a hard candy because Christ is the rock of ages. It was made white to represent the purity of Christ.
The peppermint flavor is similar to hyssop, used in the Old Testament for purification and sacrifice.
The red stripe was added representing the blood Christ shed for the sins of the world. The three thinner stripes represent the stripes He received on our behalf when the Roman soldiers wiped Him.
This hard candy was formed so that it would resemble the letter “J” for Jesus or turned upside down, a shepherd’s staff.
Jesus is the pure lamb of God, who came as a sacrifice for the sins of the world.