HomeSort by relevance Sort by last modified time
    Searched defs:jwk (Results 1 - 7 of 7) sorted by null

  /frameworks/av/drm/mediadrm/plugins/clearkey/tests/
JsonWebKeyUnittest.cpp 29 JsonWebKey* jwk; member in class:clearkeydrm::JsonWebKeyTest
32 jwk = new JsonWebKey;
36 if (jwk)
37 delete jwk;
77 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys));
99 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys));
121 EXPECT_TRUE(jwk->extractKeysFromJsonWebKeySet(js, &keys));
146 EXPECT_TRUE(jwk->extractKeysFromJsonWebKeySet(js, &keys));
184 EXPECT_TRUE(jwk->extractKeysFromJsonWebKeySet(js, &keys));
194 EXPECT_FALSE(jwk->extractKeysFromJsonWebKeySet(js, &keys))
    [all...]
  /external/chromium_org/content/renderer/media/crypto/
proxy_decryptor.cc 188 // convert the 2 arrays to a JWK and pass it as the single array.
198 std::string jwk = local
200 DCHECK(!jwk.empty());
202 reinterpret_cast<const uint8*>(jwk.data()),
203 jwk.size(),
  /external/chromium_org/media/cdm/
json_web_key.cc 66 // Both |key| and |key_id| need to be base64 encoded strings in the JWK.
70 // Create the JWK, and wrap it into a JWK Set.
71 scoped_ptr<base::DictionaryValue> jwk(new base::DictionaryValue());
72 jwk->SetString(kKeyTypeTag, kSymmetricKeyValue);
73 jwk->SetString(kKeyTag, key_base64);
74 jwk->SetString(kKeyIdTag, key_id_base64);
76 list->Append(jwk.release());
89 static bool ConvertJwkToKeyPair(const base::DictionaryValue& jwk,
91 // Have found a JWK, start by checking that it is a symmetric key
152 base::DictionaryValue* jwk = NULL; local
    [all...]
  /external/chromium_org/content/child/webcrypto/test/
rsa_oaep_unittest.cc 9 #include "content/child/webcrypto/jwk.h"
33 scoped_ptr<base::DictionaryValue> jwk(new base::DictionaryValue());
34 jwk->SetString("kty", "RSA");
35 jwk->SetString("n",
37 jwk->SetString("e",
39 return jwk.Pass();
68 scoped_ptr<base::DictionaryValue> jwk(CreatePublicKeyJwkDict());
72 ImportKeyJwkFromDict(*jwk.get(),
87 scoped_ptr<base::DictionaryValue> jwk(CreatePublicKeyJwkDict());
88 jwk->SetString("alg", "RSA-OAEP")
612 std::vector<uint8_t> jwk; local
    [all...]
rsa_ssa_unittest.cc 23 // Helper for ImportJwkRsaFailures. Restores the JWK JSON
242 // Tests JWK import and export by doing a roundtrip key conversion and ensuring
245 // PKCS8 --> JWK --> PKCS8
307 // Tests importing multiple RSA private keys from JWK, and then exporting to
311 // a sequence of keys from JWK could yield the wrong key. The first key would
331 // Get the JWK representation of the key.
333 ASSERT_TRUE(key_values->GetDictionary("jwk", &key_jwk));
346 // Import the key from JWK.
375 // Import an RSA private key using JWK. Next import a JWK containing the sam
1126 std::vector<uint8_t> jwk; local
    [all...]
  /external/chromium_org/media/filters/
pipeline_integration_test.cc 276 std::string jwk = GenerateJWKSet( variable
279 reinterpret_cast<const uint8*>(jwk.data()),
280 jwk.size(),
315 std::string jwk = GenerateJWKSet(vector_as_array(&key), variable
320 reinterpret_cast<const uint8*>(jwk.data()),
321 jwk.size(),
    [all...]
  /prebuilts/tools/common/google-api-java-client/1.8.0-rc/
google-api-java-client-min-repackaged.jar 

Completed in 941 milliseconds