xref: /aosp_15_r20/external/cronet/net/cert/x509_certificate_net_log_param.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
6 #define NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
7 
8 #include "net/base/net_export.h"
9 
10 namespace base {
11 class Value;
12 }
13 
14 namespace net {
15 
16 class X509Certificate;
17 
18 // Creates a base::Value::Type::LIST NetLog parameter to describe an
19 // X509Certificate chain.
20 NET_EXPORT base::Value NetLogX509CertificateList(
21     const X509Certificate* certificate);
22 
23 }  // namespace net
24 
25 #endif  // NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
26