Index: net/ssl/ssl_info.h |
diff --git a/net/ssl/ssl_info.h b/net/ssl/ssl_info.h |
index b18b5266c3e87331fbbb9ba2a124dc55c84b7de5..40dec2865729bb3e431dfc1641f46d0a6086193e 100644 |
--- a/net/ssl/ssl_info.h |
+++ b/net/ssl/ssl_info.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/ref_counted.h" |
#include "net/base/net_export.h" |
#include "net/cert/cert_status_flags.h" |
+#include "net/cert/ct_verify_result.h" |
#include "net/cert/sct_status_flags.h" |
#include "net/cert/x509_cert_types.h" |
#include "net/ssl/signed_certificate_timestamp_and_status.h" |
@@ -43,6 +44,14 @@ class NET_EXPORT SSLInfo { |
// Adds the specified |error| to the cert status. |
void SetCertError(int error); |
+ // Adds the SignedCertificateTimestamps from ct_verify_result to |
+ // |signed_certificate_timestamps|. SCTs are held in three separate vectors |
+ // in ct_verify_result, each vetor representing a particular verification |
+ // state, this method associates each of the SCTs with the corresponding |
+ // SCTVerifyStatus as it adds it to the |signed_certificate_timestamps| list. |
+ void UpdateSignedCertificateTimestamps( |
+ const ct::CTVerifyResult& ct_verify_result); |
+ |
// The SSL certificate. |
scoped_refptr<X509Certificate> cert; |