One of the angles of a regular octagon is 135°. What is the sum of the measures of all the interior angles of this octagon?

A. 720°
B. 1056°
C. 1080°
D. 1584°