Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: media/test/data/eme_player_js/utils.js

Issue 798583003: Encrypted Media: Check "alg":"A128KW" in AesDecryptor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix AesDecryptorTest. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cdm/json_web_key_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/eme_player_js/utils.js
diff --git a/media/test/data/eme_player_js/utils.js b/media/test/data/eme_player_js/utils.js
index 43734c1c304c2e0e491e25f458467463b9139514..3619d4e5426f5ceaab5b03686ea42e839e3b42b2 100644
--- a/media/test/data/eme_player_js/utils.js
+++ b/media/test/data/eme_player_js/utils.js
@@ -56,7 +56,7 @@ Utils.createJWKData = function(keyId, key) {
// Creates a JWK from raw key ID and key.
function createJWK(keyId, key) {
- var jwk = '{"kty":"oct","kid":"';
+ var jwk = '{"kty":"oct","alg":"A128KW","kid":"';
jwk += base64Encode(keyId);
jwk += '","k":"';
jwk += base64Encode(key);
« no previous file with comments | « media/cdm/json_web_key_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698