See https://developers.google.com/widevine/drm/client/opk for documentation and an integration guide.