enterprise.platformKeys: Copy-on-read the 'algorithm' member of Key objects.

With this change, a Key object's algorithm member is copied on every read access. Effectively preventing it's modification as required by the WebCrypto specification.

BUG=385143
R=bartfab@chromium.org, kalman@chromium.org

Review URL: https://codereview.chromium.org/332233002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278833 0039d316-1c4b-4281-b951-d872f2087c98
6 files changed