History log of /frameworks/av/drm/mediadrm/plugins/clearkey/tests/JsonWebKeyUnittest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
999782fa3ff94607c0a814c8d447fad38c2c4c57 17-Aug-2017 Edwin Wong <edwinwong@google.com> Fix ClearKey Drm base64 en/decoding to use base64url.

ClearKey's base64 en/decoding should use '-' and '_'
instead of '+' and '/' (web safe coding). Add support
for base64url coding in libstagefright foundation library
and update ClearKey plugins.

Test: CTS - ClearSystemTests
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m
CtsMediaTestCases --test android.media.cts.ClearKeySystemTest

Test: CTS - NativeClearSystemTests
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m
CtsMediaTestCases --test android.media.cts.NativeClearKeySystemTest

Test: libstagefright/foundation/tests/Base64_test
adb shell /data/nativetest64/sf_foundation_test/sf_foundation_test

Test: ClearKeyDrmUnitTest
adb shell LD_LIBRARY_PATH="/vendor/lib/mediadrm"
/data/nativetest/ClearKeyDrmUnitTest/ClearKeyDrmUnitTest

Test: Vts
vts-tradefed run commandAndExit vts -m VtsHalDrmV1_0Target
--primary-abi-only -l VERBOSE

bug: 64388098
Change-Id: Ic08515fd491f15e088600c64603149401c117f4a
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/JsonWebKeyUnittest.cpp
7bdf28d2b83e527f474e96b0984d6a3f5eb457f7 16-May-2014 Edwin Wong <edwinwong@google.com> JsonWebKey support.

Parses JSON Web Key Set in the response data; extracts and base64 decode
key id(s) and key(s).

bug: 12035506
Change-Id: Ib71bce942d6eca1e569dfad0a9adb6dee1cdf75e
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/JsonWebKeyUnittest.cpp