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

Unified Diff: net/test/ct_test_util.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/test/cert_test_util_nss.cc ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/ct_test_util.h
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h
deleted file mode 100644
index f3b8c6b3f691e7ddf62dce341aca4ad85f8d7288..0000000000000000000000000000000000000000
--- a/net/test/ct_test_util.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_CERT_CT_TEST_UTIL_H_
-#define NET_CERT_CT_TEST_UTIL_H_
-
-#include <string>
-
-#include "base/memory/ref_counted.h"
-
-namespace net {
-
-namespace ct {
-
-struct LogEntry;
-struct SignedCertificateTimestamp;
-struct SignedTreeHead;
-
-// Note: unless specified otherwise, all test data is taken from Certificate
-// Transparency test data repository.
-
-// Fills |entry| with test data for an X.509 entry.
-void GetX509CertLogEntry(LogEntry* entry);
-
-// Returns a DER-encoded X509 cert. The SCT provided by
-// GetX509CertSCT is signed over this certificate.
-std::string GetDerEncodedX509Cert();
-
-// Fills |entry| with test data for a Precertificate entry.
-void GetPrecertLogEntry(LogEntry* entry);
-
-// Returns the binary representation of a test DigitallySigned
-std::string GetTestDigitallySigned();
-
-// Returns the binary representation of a test serialized SCT.
-std::string GetTestSignedCertificateTimestamp();
-
-// Test log key
-std::string GetTestPublicKey();
-
-// ID of test log key
-std::string GetTestPublicKeyId();
-
-// SCT for the X509Certificate provided above.
-void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct);
-
-// SCT for the Precertificate log entry provided above.
-void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct);
-
-// Issuer key hash
-std::string GetDefaultIssuerKeyHash();
-
-// Fake OCSP response with an embedded SCT list.
-std::string GetDerEncodedFakeOCSPResponse();
-
-// The SCT list embedded in the response above.
-std::string GetFakeOCSPExtensionValue();
-
-// The cert the OCSP response is for.
-std::string GetDerEncodedFakeOCSPResponseCert();
-
-// The issuer of the previous cert.
-std::string GetDerEncodedFakeOCSPResponseIssuerCert();
-
-// A sample, valid STH
-void GetSignedTreeHead(SignedTreeHead* sth);
-
-// The SHA256 root hash for the sample STH
-std::string GetSampleSTHSHA256RootHash();
-
-} // namespace ct
-
-} // namespace net
-
-#endif // NET_CERT_CT_TEST_UTIL_H_
« no previous file with comments | « net/test/cert_test_util_nss.cc ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698