x509_certificate_net_log_param.h 643 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
  5. #define NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
  6. #include "net/base/net_export.h"
  7. namespace base {
  8. class Value;
  9. }
  10. namespace net {
  11. class X509Certificate;
  12. // Creates a base::Value::Type::LIST NetLog parameter to describe an
  13. // X509Certificate chain.
  14. NET_EXPORT base::Value NetLogX509CertificateList(
  15. const X509Certificate* certificate);
  16. } // namespace net
  17. #endif // NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_