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

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: Implementing Ryan's suggestion of substr-ing the StringPiece 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
« no previous file with comments | « net/net.gyp ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Precertificate entry.
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();
30
31 } // namespace ct
32
33 } // namespace net
34
35 #endif // NET_CERT_CT_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698