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

Unified Diff: net/cert/signed_certificate_timestamp.h

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: fixes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/sct_status_flags.h ('k') | net/cert/signed_certificate_timestamp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/signed_certificate_timestamp.h
diff --git a/net/cert/signed_certificate_timestamp.h b/net/cert/signed_certificate_timestamp.h
index 9c73dee6a82b70ce7832b7e44aa4e3667331451b..c3d000940b0aeff837db6e3994e3bf20dcf7cb70 100644
--- a/net/cert/signed_certificate_timestamp.h
+++ b/net/cert/signed_certificate_timestamp.h
@@ -13,6 +13,9 @@
#include "net/base/hash_value.h"
#include "net/base/net_export.h"
+class Pickle;
+class PickleIterator;
+
namespace net {
// Structures related to Certificate Transparency (RFC6962).
@@ -93,6 +96,10 @@ struct NET_EXPORT SignedCertificateTimestamp
SignedCertificateTimestamp();
+ void Persist(Pickle* pickle);
+ static scoped_refptr<SignedCertificateTimestamp> CreateFromPickle(
+ PickleIterator* iter);
+
Version version;
std::string log_id;
base::Time timestamp;
« no previous file with comments | « net/cert/sct_status_flags.h ('k') | net/cert/signed_certificate_timestamp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698