Home
last modified time | relevance | path

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

/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.h76 struct NET_EXPORT SignedCertificateTimestamp struct
77 : public base::RefCountedThreadSafe<SignedCertificateTimestamp> {
81 bool operator()(const scoped_refptr<SignedCertificateTimestamp>& lhs, argument
82 const scoped_refptr<SignedCertificateTimestamp>& rhs) const;
97 SignedCertificateTimestamp(); argument
100 static scoped_refptr<SignedCertificateTimestamp> CreateFromPickle(
118 friend class base::RefCountedThreadSafe<SignedCertificateTimestamp>; argument
120 ~SignedCertificateTimestamp();
122 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.cc63 ct::SignedCertificateTimestamp::SCT_EMBEDDED, in Verify()
90 ct::SignedCertificateTimestamp::SCT_FROM_OCSP_RESPONSE, in Verify()
96 ct::SignedCertificateTimestamp::SCT_FROM_TLS_EXTENSION, in Verify()
116 ct::SignedCertificateTimestamp::Origin origin, in VerifySCTs()
132 scoped_refptr<ct::SignedCertificateTimestamp> decoded_sct; in VerifySCTs()
146 scoped_refptr<ct::SignedCertificateTimestamp> sct, in VerifySingleSCT()
Dct_log_verifier_unittest.cc35 scoped_refptr<ct::SignedCertificateTimestamp> cert_sct; in TEST_F()
45 scoped_refptr<ct::SignedCertificateTimestamp> precert_sct; in TEST_F()
55 scoped_refptr<ct::SignedCertificateTimestamp> cert_sct; in TEST_F()
68 scoped_refptr<ct::SignedCertificateTimestamp> cert_sct; in TEST_F()
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()
91 const ct::SignedCertificateTimestamp& sct) { in SCTToDictionary()
Dct_serialization.cc292 WriteUint(kVersionLength, SignedCertificateTimestamp::SCT_VERSION_1, in EncodeV1SCTSignedData()
321 scoped_refptr<SignedCertificateTimestamp>* output) { in DecodeSignedCertificateTimestamp()
322 scoped_refptr<SignedCertificateTimestamp> result( in DecodeSignedCertificateTimestamp()
323 new SignedCertificateTimestamp()); in DecodeSignedCertificateTimestamp()
327 if (version != SignedCertificateTimestamp::SCT_VERSION_1) { in DecodeSignedCertificateTimestamp()
332 result->version = SignedCertificateTimestamp::SCT_VERSION_1; in DecodeSignedCertificateTimestamp()
Dmulti_log_ct_verifier.h55 ct::SignedCertificateTimestamp::Origin origin,
60 scoped_refptr<ct::SignedCertificateTimestamp> sct,
Dmulti_log_ct_verifier_unittest.cc56 ct::SignedCertificateTimestamp::Origin origin) { in CheckForSCTOrigin()
90 result, ct::SignedCertificateTimestamp::SCT_EMBEDDED) && in CheckPrecertificateVerification()
149 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.h66 scoped_refptr<ct::SignedCertificateTimestamp>* output);
Dct_log_verifier.h47 const ct::SignedCertificateTimestamp& sct);
Dct_log_verifier.cc23 const ct::SignedCertificateTimestamp& sct) { in Verify()
/external/chromium_org/net/test/
Dct_test_util.cc189 void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct_ref) { in GetX509CertSCT()
191 *sct_ref = new SignedCertificateTimestamp(); in GetX509CertSCT()
192 SignedCertificateTimestamp *const sct(sct_ref->get()); in GetX509CertSCT()
193 sct->version = ct::SignedCertificateTimestamp::SCT_VERSION_1; in GetX509CertSCT()
206 void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct_ref) { in GetPrecertSCT()
208 *sct_ref = new SignedCertificateTimestamp(); in GetPrecertSCT()
209 SignedCertificateTimestamp *const sct(sct_ref->get()); in GetPrecertSCT()
210 sct->version = ct::SignedCertificateTimestamp::SCT_VERSION_1; in GetPrecertSCT()
Dct_test_util.h17 struct SignedCertificateTimestamp;
45 void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct);
48 void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct);
/external/chromium_org/net/ssl/
Dsigned_certificate_timestamp_and_status.h16 struct SignedCertificateTimestamp;
21 const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
26 scoped_refptr<ct::SignedCertificateTimestamp> sct_;
Dsigned_certificate_timestamp_and_status.cc12 const scoped_refptr<ct::SignedCertificateTimestamp>& sct, in SignedCertificateTimestampAndStatus()
/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/net/http/
Dhttp_response_info.cc219 scoped_refptr<ct::SignedCertificateTimestamp> sct( in InitFromPickle()
220 ct::SignedCertificateTimestamp::CreateFromPickle(&iter)); in InitFromPickle()