Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: net/test/ct_test_util.h

Issue 37633002: CT: First step towards supporting Certificate Transparency in Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 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
5 #ifndef NET_CERT_CT_TEST_UTIL_H_
6 #define NET_CERT_CT_TEST_UTIL_H_
7
8 #include <string>
9
10 namespace net {
11
12 class X509Certificate;
13
14 namespace ct {
15
16 struct LogEntry;
17 struct SignedCertificateTimestamp;
18
19 // Fills |entry| with test data for an X.509 entry.
20 void GetX509CertLogEntry(LogEntry* entry);
21
22 // Fills |entry| with test data for a PreCert entry.
wtc 2013/10/24 23:14:23 Nit: PreCert => Precertificate PreCert seems to r
Eran M. (Google) 2013/10/30 18:00:08 Done.
23 void GetPrecertLogEntry(LogEntry* entry);
24
25 // Returns the binary representation of a test DigitallySigned
26 std::string GetTestDigitallySigned();
27
28 // Returns the binary representation of a test serialized SCT.
29 std::string GetTestSignedCertificateTimestamp();
wtc 2013/10/24 23:14:23 Nit: add a blank line after this line.
Eran M. (Google) 2013/10/30 18:00:08 Done.
30 } // namespace ct
31
32 } // namespace net
33
34 #endif // NET_CERT_CT_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698