Update API to match new equivalent Common Digest API.