Home
last modified time | relevance | path

Searched refs:SignedCertificateTimestamp (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/net/cert/
Dsigned_certificate_timestamp.cc13 bool SignedCertificateTimestamp::LessThan::operator()( in operator ()()
14 const scoped_refptr<SignedCertificateTimestamp>& lhs, in operator ()()
15 const scoped_refptr<SignedCertificateTimestamp>& rhs) const { in operator ()()
29 SignedCertificateTimestamp::SignedCertificateTimestamp() {} in SignedCertificateTimestamp() function in net::ct::SignedCertificateTimestamp
31 SignedCertificateTimestamp::~SignedCertificateTimestamp() {} in ~SignedCertificateTimestamp()
33 void SignedCertificateTimestamp::Persist(Pickle* pickle) { in Persist()
46 scoped_refptr<SignedCertificateTimestamp>
47 SignedCertificateTimestamp::CreateFromPickle(PickleIterator* iter) { in CreateFromPickle()
52 scoped_refptr<SignedCertificateTimestamp> sct( in CreateFromPickle()
53 new SignedCertificateTimestamp()); in CreateFromPickle()
Dsigned_certificate_timestamp.h82 struct NET_EXPORT SignedCertificateTimestamp struct
83 : public base::RefCountedThreadSafe<SignedCertificateTimestamp> {
87 bool operator()(const scoped_refptr<SignedCertificateTimestamp>& lhs, argument
88 const scoped_refptr<SignedCertificateTimestamp>& rhs) const;
106 SignedCertificateTimestamp(); argument
109 static scoped_refptr<SignedCertificateTimestamp> CreateFromPickle(
127 friend class base::RefCountedThreadSafe<SignedCertificateTimestamp>; argument
129 ~SignedCertificateTimestamp();
131 DISALLOW_COPY_AND_ASSIGN(SignedCertificateTimestamp);
Dsigned_certificate_timestamp_unittest.cc25 sample_sct_->origin = SignedCertificateTimestamp::SCT_FROM_OCSP_RESPONSE; in SetUp()
30 scoped_refptr<SignedCertificateTimestamp> sample_sct_;
39 scoped_refptr<SignedCertificateTimestamp> unpickled_sct( in TEST_F()
40 SignedCertificateTimestamp::CreateFromPickle(&iter)); in TEST_F()
42 SignedCertificateTimestamp::LessThan less_than; in TEST_F()
Dct_objects_extractor_unittest.cc39 scoped_refptr<SignedCertificateTimestamp>* sct) { in ExtractEmbeddedSCT()
60 scoped_refptr<ct::SignedCertificateTimestamp> sct( in TEST_F()
61 new ct::SignedCertificateTimestamp()); in TEST_F()
64 EXPECT_EQ(sct->version, SignedCertificateTimestamp::SCT_VERSION_1); in TEST_F()
101 scoped_refptr<ct::SignedCertificateTimestamp> sct( in TEST_F()
102 new ct::SignedCertificateTimestamp()); in TEST_F()
116 scoped_refptr<ct::SignedCertificateTimestamp> sct( in TEST_F()
117 new ct::SignedCertificateTimestamp()); in TEST_F()
Dmulti_log_ct_verifier.cc35 void LogSCTOriginToUMA(ct::SignedCertificateTimestamp::Origin origin) { in LogSCTOriginToUMA()
38 ct::SignedCertificateTimestamp::SCT_ORIGIN_MAX); in LogSCTOriginToUMA()
114 ct::SignedCertificateTimestamp::SCT_EMBEDDED, in Verify()
141 ct::SignedCertificateTimestamp::SCT_FROM_OCSP_RESPONSE, in Verify()
147 ct::SignedCertificateTimestamp::SCT_FROM_TLS_EXTENSION, in Verify()
169 ct::SignedCertificateTimestamp::Origin origin, in VerifySCTs()
186 scoped_refptr<ct::SignedCertificateTimestamp> decoded_sct; in VerifySCTs()
201 scoped_refptr<ct::SignedCertificateTimestamp> sct, in VerifySingleSCT()
Dct_signed_certificate_timestamp_log_param.cc22 const char* OriginToString(ct::SignedCertificateTimestamp::Origin origin) { in OriginToString()
24 case ct::SignedCertificateTimestamp::SCT_EMBEDDED: in OriginToString()
26 case ct::SignedCertificateTimestamp::SCT_FROM_TLS_EXTENSION: in OriginToString()
28 case ct::SignedCertificateTimestamp::SCT_FROM_OCSP_RESPONSE: in OriginToString()
30 case ct::SignedCertificateTimestamp::SCT_ORIGIN_MAX: in OriginToString()
93 const ct::SignedCertificateTimestamp& sct) { in SCTToDictionary()
Dct_log_verifier_unittest.cc36 scoped_refptr<ct::SignedCertificateTimestamp> cert_sct; in TEST_F()
46 scoped_refptr<ct::SignedCertificateTimestamp> precert_sct; in TEST_F()
56 scoped_refptr<ct::SignedCertificateTimestamp> cert_sct; in TEST_F()
69 scoped_refptr<ct::SignedCertificateTimestamp> cert_sct; in TEST_F()
Dct_serialization.cc301 WriteUint(kVersionLength, SignedCertificateTimestamp::SCT_VERSION_1, in EncodeV1SCTSignedData()
339 scoped_refptr<SignedCertificateTimestamp>* output) { in DecodeSignedCertificateTimestamp()
340 scoped_refptr<SignedCertificateTimestamp> result( in DecodeSignedCertificateTimestamp()
341 new SignedCertificateTimestamp()); in DecodeSignedCertificateTimestamp()
345 if (version != SignedCertificateTimestamp::SCT_VERSION_1) { in DecodeSignedCertificateTimestamp()
350 result->version = SignedCertificateTimestamp::SCT_VERSION_1; in DecodeSignedCertificateTimestamp()
Dmulti_log_ct_verifier.h57 ct::SignedCertificateTimestamp::Origin origin,
62 scoped_refptr<ct::SignedCertificateTimestamp> sct,
Dmulti_log_ct_verifier_unittest.cc69 ct::SignedCertificateTimestamp::Origin origin) { in CheckForSCTOrigin()
161 ct::SignedCertificateTimestamp::SCT_EMBEDDED) && in CheckPrecertificateVerification()
183 ct::SignedCertificateTimestamp::SCT_EMBEDDED); in NumEmbeddedSCTsInHistogram()
242 result, ct::SignedCertificateTimestamp::SCT_FROM_TLS_EXTENSION)); in TEST_F()
Dct_verify_result.h16 typedef std::vector<scoped_refptr<SignedCertificateTimestamp> > SCTList;
Dct_serialization_unittest.cc138 scoped_refptr<ct::SignedCertificateTimestamp> sct; in TEST_F()
154 scoped_refptr<ct::SignedCertificateTimestamp> sct; in TEST_F()
Dct_serialization.h74 scoped_refptr<ct::SignedCertificateTimestamp>* output);
Dct_log_verifier.h51 const ct::SignedCertificateTimestamp& sct);
Dct_log_verifier.cc24 const ct::SignedCertificateTimestamp& sct) { in Verify()
/external/chromium_org/net/test/
Dct_test_util.cc198 void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct_ref) { in GetX509CertSCT()
200 *sct_ref = new SignedCertificateTimestamp(); in GetX509CertSCT()
201 SignedCertificateTimestamp *const sct(sct_ref->get()); in GetX509CertSCT()
202 sct->version = ct::SignedCertificateTimestamp::SCT_VERSION_1; in GetX509CertSCT()
215 void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct_ref) { in GetPrecertSCT()
217 *sct_ref = new SignedCertificateTimestamp(); in GetPrecertSCT()
218 SignedCertificateTimestamp *const sct(sct_ref->get()); in GetPrecertSCT()
219 sct->version = ct::SignedCertificateTimestamp::SCT_VERSION_1; in GetPrecertSCT()
Dct_test_util.h17 struct SignedCertificateTimestamp;
46 void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct);
49 void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct);
/external/chromium_org/content/public/browser/
Dsigned_certificate_timestamp_store.h13 struct SignedCertificateTimestamp;
38 virtual int Store(net::ct::SignedCertificateTimestamp* sct,
45 int sct_id, scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) = 0;
/external/chromium_org/content/browser/
Dsigned_certificate_timestamp_store_impl.h24 net::ct::SignedCertificateTimestamp* sct,
28 scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) OVERRIDE;
36 RendererDataMemoizingStore<net::ct::SignedCertificateTimestamp> store_;
Dsigned_certificate_timestamp_store_impl.cc28 net::ct::SignedCertificateTimestamp* sct, in Store()
35 scoped_refptr<net::ct::SignedCertificateTimestamp>* sct) { in Retrieve()
/external/chromium_org/chrome/browser/ui/views/
Dsigned_certificate_timestamp_info_view.h20 struct SignedCertificateTimestamp;
29 int SCTOriginToResourceID(const net::ct::SignedCertificateTimestamp& sct);
43 const net::ct::SignedCertificateTimestamp& sct,
Dsigned_certificate_timestamp_info_view.cc89 int SCTOriginToResourceID(const net::ct::SignedCertificateTimestamp& sct) { in SCTOriginToResourceID()
91 case net::ct::SignedCertificateTimestamp::SCT_EMBEDDED: in SCTOriginToResourceID()
93 case net::ct::SignedCertificateTimestamp::SCT_FROM_TLS_EXTENSION: in SCTOriginToResourceID()
95 case net::ct::SignedCertificateTimestamp::SCT_FROM_OCSP_RESPONSE: in SCTOriginToResourceID()
97 case net::ct::SignedCertificateTimestamp::SCT_ORIGIN_MAX: in SCTOriginToResourceID()
121 const net::ct::SignedCertificateTimestamp& sct, in SetSignedCertificateTimestamp()
/external/chromium_org/net/ssl/
Dsigned_certificate_timestamp_and_status.h19 const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
24 scoped_refptr<ct::SignedCertificateTimestamp> sct;
Dsigned_certificate_timestamp_and_status.cc12 const scoped_refptr<ct::SignedCertificateTimestamp>& sct, in SignedCertificateTimestampAndStatus()
/external/chromium_org/net/http/
Dhttp_response_info.cc221 scoped_refptr<ct::SignedCertificateTimestamp> sct( in InitFromPickle()
222 ct::SignedCertificateTimestamp::CreateFromPickle(&iter)); in InitFromPickle()

12