| Index: net/ssl/ssl_info.h
|
| diff --git a/net/ssl/ssl_info.h b/net/ssl/ssl_info.h
|
| index 3f1dd2df4e1ed3265e8bab76c44fb37383ffc19d..6167188973abcec4fbf6025290399f1d3a21f126 100644
|
| --- a/net/ssl/ssl_info.h
|
| +++ b/net/ssl/ssl_info.h
|
| @@ -10,12 +10,32 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "net/base/net_export.h"
|
| #include "net/cert/cert_status_flags.h"
|
| +#include "net/cert/sct_status_flags.h"
|
| #include "net/cert/x509_cert_types.h"
|
|
|
| +class Pickle;
|
| +class PickleIterator;
|
| +
|
| namespace net {
|
|
|
| +namespace ct {
|
| +class SignedCertificateTimestamp;
|
| +}
|
| +
|
| class X509Certificate;
|
|
|
| +struct SignedCertificateTimestampAndStatus {
|
| + SignedCertificateTimestampAndStatus(
|
| + const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
|
| + net::SignedCertificateTimestampVerificationStatus status);
|
| +
|
| + scoped_refptr<ct::SignedCertificateTimestamp> sct_;
|
| + net::SignedCertificateTimestampVerificationStatus status_;
|
| +};
|
| +
|
| +typedef std::vector<SignedCertificateTimestampAndStatus>
|
| + SignedCertificateTimestampAndStatusList;
|
| +
|
| // SSL connection info.
|
| // This is really a struct. All members are public.
|
| class NET_EXPORT SSLInfo {
|
| @@ -43,6 +63,10 @@ class NET_EXPORT SSLInfo {
|
| // The SSL certificate.
|
| scoped_refptr<X509Certificate> cert;
|
|
|
| + // List of SignedCertificateTimestamps and their corresponding validation
|
| + // status.
|
| + SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
|
| +
|
| // Bitmask of status info of |cert|, representing, for example, known errors
|
| // and extended validation (EV) status.
|
| // See cert_status_flags.h for values.
|
|
|