Searched defs:public_key_jwk (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/net/cert/
H A Djwk_serializer_unittest.cc65 base::DictionaryValue public_key_jwk; local
67 EXPECT_FALSE(JwkSerializer::ConvertSpkiFromDerToJwk(spki, &public_key_jwk));
68 EXPECT_TRUE(public_key_jwk.empty());
72 EXPECT_TRUE(JwkSerializer::ConvertSpkiFromDerToJwk(spki, &public_key_jwk));
75 EXPECT_TRUE(public_key_jwk.GetString("kty", &string_value));
77 EXPECT_TRUE(public_key_jwk.GetString("crv", &string_value));
80 EXPECT_TRUE(public_key_jwk.GetString("x", &string_value));
89 EXPECT_TRUE(public_key_jwk.GetString("y", &string_value));
101 EXPECT_TRUE(JwkSerializer::ConvertSpkiFromDerToJwk(spki, &public_key_jwk));
103 EXPECT_TRUE(public_key_jwk
[all...]
H A Djwk_serializer_nss.cc24 base::DictionaryValue* public_key_jwk) {
33 public_key_jwk->SetString("kty", "EC");
34 public_key_jwk->SetString("crv", "P-256");
41 public_key_jwk->SetString("x", x_b64);
49 public_key_jwk->SetString("y", y_b64);
55 base::DictionaryValue* public_key_jwk) {
66 return ConvertEcPrime256v1PublicKeyInfoToJwk(spki, public_key_jwk);
82 base::DictionaryValue* public_key_jwk) {
83 public_key_jwk->Clear();
110 rv = ConvertEcPublicKeyInfoToJwk(spki.get(), public_key_jwk);
22 ConvertEcPrime256v1PublicKeyInfoToJwk( CERTSubjectPublicKeyInfo* spki, base::DictionaryValue* public_key_jwk) argument
53 ConvertEcPublicKeyInfoToJwk( CERTSubjectPublicKeyInfo* spki, base::DictionaryValue* public_key_jwk) argument
80 ConvertSpkiFromDerToJwk( const base::StringPiece& spki_der, base::DictionaryValue* public_key_jwk) argument
[all...]
H A Djwk_serializer_openssl.cc27 base::DictionaryValue* public_key_jwk,
71 public_key_jwk->SetString("kty", "EC");
72 public_key_jwk->SetString("crv", curve_name);
76 public_key_jwk->SetString("x", x_b64);
80 public_key_jwk->SetString("y", y_b64);
89 base::DictionaryValue* public_key_jwk) {
90 public_key_jwk->Clear();
102 return ConvertEcKeyToJwk(pubkey.get(), public_key_jwk, err_tracer);
26 ConvertEcKeyToJwk(EVP_PKEY* pkey, base::DictionaryValue* public_key_jwk, const crypto::OpenSSLErrStackTracer& err_tracer) argument
87 ConvertSpkiFromDerToJwk( const base::StringPiece& spki_der, base::DictionaryValue* public_key_jwk) argument

Completed in 71 milliseconds