diff options
author | rpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-31 16:41:17 +0000 |
---|---|---|
committer | rpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-31 16:41:17 +0000 |
commit | 7a400d1c77116fb3dac999d8118b6d73ed23feb1 (patch) | |
tree | ae60e2abf8ac9fc23fffefc1b695abf6137f9078 /net/test/ct_test_util.h | |
parent | 1d335baac2463c91c453cd38ff64476349146364 (diff) | |
download | chromium_src-7a400d1c77116fb3dac999d8118b6d73ed23feb1.zip chromium_src-7a400d1c77116fb3dac999d8118b6d73ed23feb1.tar.gz chromium_src-7a400d1c77116fb3dac999d8118b6d73ed23feb1.tar.bz2 |
Revert 232131 "CT: First step towards supporting Certificate Tra..."
> CT: First step towards supporting Certificate Transparency in Chrome.
>
> This patch adds Signed Certificate Timestamp (SCT) encoding/decoding.
> SCT is the Certificate Transparency (CT) structure containing a proof
> of a public log's commitment to adding a certificate to its public
> repository.
>
> The next patches would be extracting the SCTs when embedded in
> certificates and verifying the signature from the SCT over them.
>
> BUG=309578
>
> Review URL: https://codereview.chromium.org/37633002
TBR=eranm@google.com
Review URL: https://codereview.chromium.org/47923017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test/ct_test_util.h')
-rw-r--r-- | net/test/ct_test_util.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h deleted file mode 100644 index 79881ce..0000000 --- a/net/test/ct_test_util.h +++ /dev/null @@ -1,35 +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> - -namespace net { - -class X509Certificate; - -namespace ct { - -struct LogEntry; -struct SignedCertificateTimestamp; - -// Fills |entry| with test data for an X.509 entry. -void GetX509CertLogEntry(LogEntry* entry); - -// 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(); - -} // namespace ct - -} // namespace net - -#endif // NET_CERT_CT_TEST_UTIL_H_ |