Certified Used

When a car is “certified” and comes with an extended warranty:

1) Is the warranty included in the sale price

2) Is it a factory warranty

3) If it’s not a factory warranty, what is it worth, who is providing it, where is it redeemable?