It was intended for Chromecast - I remember that there were plans to use this method to prepopulate network credentials during setup, but afaik that feature never actually got implemented.
Summary: Remove unneeded chromecast verification methods from shill and networkingPrivate API (was: Remove verifyAndEncryptCredentials from networkingPrivate)
Comment 1 by tbarzic@chromium.org
, May 26 2018