2016-08-11 13:41:50 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "CTVerifyResult.h"
|
|
|
|
|
2016-11-23 16:37:31 +03:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2016-08-11 13:41:50 +03:00
|
|
|
namespace mozilla { namespace ct {
|
|
|
|
|
2016-11-23 16:37:31 +03:00
|
|
|
VerifiedSCT::VerifiedSCT()
|
|
|
|
: status(Status::None)
|
|
|
|
, origin(Origin::Unknown)
|
2016-11-29 23:51:46 +03:00
|
|
|
, logOperatorId(-1)
|
|
|
|
, logDisqualificationTime(UINT64_MAX)
|
2016-11-23 16:37:31 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-08-11 13:41:50 +03:00
|
|
|
void
|
|
|
|
CTVerifyResult::Reset()
|
|
|
|
{
|
2016-11-23 16:37:31 +03:00
|
|
|
verifiedScts.clear();
|
2016-08-11 13:41:50 +03:00
|
|
|
decodingErrors = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
} } // namespace mozilla::ct
|