blob: ee8cc8ad09807805558635d58e068c04afc53830 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
namespace base {
class DictionaryValue;
namespace net {
namespace JwkSerializer {
// Converts a subject public key info from DER to JWK.
// See for
// the output format.
NET_EXPORT_PRIVATE bool ConvertSpkiFromDerToJwk(
const base::StringPiece& spki_der,
base::DictionaryValue* public_key_jwk);
} // namespace JwkSerializer
} // namespace net