How are AnimationCurves evaluated?

Can anyone tell me exactly how AnimationCurves are evaluated mathematically? I have some scripts that analyze curves, and I’ve been working off the assumption that they’re cubic Hermite splines. This seems to work correctly, but I’d like to be sure, if possible.

It’s a bezier spline