ct_signed_certificate_timestamp_log_param.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright 2013 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_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
  5. #define NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
  6. #include "base/strings/string_piece.h"
  7. #include "net/cert/signed_certificate_timestamp_and_status.h"
  8. namespace base {
  9. class Value;
  10. }
  11. namespace net {
  12. // Creates a dictionary of processed Signed Certificate Timestamps to be
  13. // logged in the NetLog.
  14. // See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED
  15. // in net/log/net_log_event_type_list.h
  16. base::Value NetLogSignedCertificateTimestampParams(
  17. const SignedCertificateTimestampAndStatusList* scts);
  18. // Creates a dictionary of raw Signed Certificate Timestamps to be logged
  19. // in the NetLog.
  20. // See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_RECEIVED
  21. // in net/log/net_log_event_type_list.h
  22. base::Value NetLogRawSignedCertificateTimestampParams(
  23. base::StringPiece embedded_scts,
  24. base::StringPiece sct_list_from_ocsp,
  25. base::StringPiece sct_list_from_tls_extension);
  26. } // namespace net
  27. #endif // NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_