Home
last modified time | relevance | path

Searched refs:signed_tree_head (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/cert/
Dct_log_response_parser.cc108 SignedTreeHead* signed_tree_head) { in FillSignedTreeHead() argument
126 signed_tree_head->version = SignedTreeHead::V1; in FillSignedTreeHead()
127 signed_tree_head->tree_size = parsed_sth.tree_size; in FillSignedTreeHead()
128 signed_tree_head->timestamp = in FillSignedTreeHead()
131 signed_tree_head->signature = parsed_sth.signature; in FillSignedTreeHead()
132 memcpy(signed_tree_head->sha256_root_hash, in FillSignedTreeHead()
Dct_log_verifier.cc49 scoped_ptr<ct::SignedTreeHead> signed_tree_head) { in SetSignedTreeHead() argument
50 if (!SignatureParametersMatch(signed_tree_head->signature)) in SetSignedTreeHead()
54 ct::EncodeTreeHeadSignature(*signed_tree_head.get(), &serialized_data); in SetSignedTreeHead()
56 signed_tree_head->signature.signature_data)) { in SetSignedTreeHead()
57 signed_tree_head_.reset(signed_tree_head.release()); in SetSignedTreeHead()
Dct_serialization.cc312 void EncodeTreeHeadSignature(const SignedTreeHead& signed_tree_head, in EncodeTreeHeadSignature() argument
314 WriteUint(kVersionLength, signed_tree_head.version, output); in EncodeTreeHeadSignature()
316 WriteTimeSinceEpoch(signed_tree_head.timestamp, output); in EncodeTreeHeadSignature()
317 WriteUint(kTreeSizeLength, signed_tree_head.tree_size, output); in EncodeTreeHeadSignature()
319 base::StringPiece(signed_tree_head.sha256_root_hash, kSthRootHashLength), in EncodeTreeHeadSignature()
Dct_serialization_unittest.cc166 ct::SignedTreeHead signed_tree_head; in TEST_F() local
167 GetSignedTreeHead(&signed_tree_head); in TEST_F()
170 ct::EncodeTreeHeadSignature(signed_tree_head, &encoded); in TEST_F()
Dct_log_response_parser.h22 SignedTreeHead* signed_tree_head);
Dct_serialization.h56 const SignedTreeHead& signed_tree_head,
Dct_log_verifier.h56 bool SetSignedTreeHead(scoped_ptr<ct::SignedTreeHead> signed_tree_head);
/external/chromium_org/net/
Dnet.gypi79 'cert/signed_tree_head.h',