Home
last modified time | relevance | path

Searched refs:jwkSet (Results 1 – 3 of 3) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderDrmTestBase.java86 StringBuilder jwkSet = new StringBuilder("{\"keys\":["); in createJsonWebKeySet() local
90 jwkSet.append("{\"kty\":\"oct\",\"kid\":\"").append(id).append("\",\"k\":\"") in createJsonWebKeySet()
93 jwkSet.append("], \"type\":"); in createJsonWebKeySet()
95 jwkSet.append("\"persistent-license\" }"); in createJsonWebKeySet()
97 jwkSet.append("\"temporary\" }"); in createJsonWebKeySet()
99 return jwkSet.toString(); in createJsonWebKeySet()
135 String jwkSet = createJsonWebKeySet(keyIds, keys, keyType); in retrieveKeys() local
136 byte[] jsonResponse = jwkSet.getBytes(StandardCharsets.UTF_8); in retrieveKeys()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java985 String jwkSet = "{\"keys\":["; in createJsonWebKeySet() local
990 jwkSet += "{\"kty\":\"oct\",\"kid\":\"" + id + in createJsonWebKeySet()
993 jwkSet += "]}"; in createJsonWebKeySet()
994 return jwkSet; in createJsonWebKeySet()
1022 String jwkSet = createJsonWebKeySet(keyIds, keys); in createKeysResponse() local
1023 byte[] jsonResponse = jwkSet.getBytes(Charset.forName("UTF-8")); in createKeysResponse()
DMediaDrmClearkeyTest.java199 String jwkSet = "{\"keys\":["; in createJsonWebKeySet() local
204 jwkSet += "{\"kty\":\"oct\",\"kid\":\"" + id + in createJsonWebKeySet()
207 jwkSet += "], \"type\":"; in createJsonWebKeySet()
209 jwkSet += "\"persistent-license\" }"; in createJsonWebKeySet()
211 jwkSet += "\"temporary\" }"; in createJsonWebKeySet()
213 return jwkSet; in createJsonWebKeySet()
257 String jwkSet = createJsonWebKeySet(keyIds, keys, keyType); in retrieveKeys() local
258 byte[] jsonResponse = jwkSet.getBytes(Charset.forName("UTF-8")); in retrieveKeys()