Home | History | Annotate | Download | only in test

Lines Matching refs:jwk

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 same
390 ASSERT_TRUE(key1_props->GetDictionary("jwk", &key1_jwk));
404 // Construct a JWK
409 ASSERT_TRUE(key2_props->GetDictionary("jwk", &key2_jwk));
427 // Import a JWK RSA private key with some optional parameters missing (q, dp,
468 // Import a JWK RSA private key, without any of the optional parameters.
990 // Try importing an RSA-SSA public key with unsupported key usages using JWK
1125 // Export the public key as JWK and verify its contents
1126 std::vector<uint8_t> jwk;
1128 ExportKey(blink::WebCryptoKeyFormatJwk, public_key, &jwk));
1129 EXPECT_TRUE(VerifyPublicJwk(jwk,
1135 // Import the JWK back in to create a new key
1139 CryptoData(jwk),
1166 // An RSA public key JWK _must_ have an "n" (modulus) and an "e" (exponent)