Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/security/manager/ssl/SharedCertVerifier.h
Line
Count
Source (jump to first uncovered line)
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
#ifndef SharedCertVerifier_h
6
#define SharedCertVerifier_h
7
8
#include "CertVerifier.h"
9
#include "mozilla/RefPtr.h"
10
#include "mozilla/TimeStamp.h"
11
12
namespace mozilla { namespace psm {
13
14
class SharedCertVerifier : public mozilla::psm::CertVerifier
15
{
16
protected:
17
  ~SharedCertVerifier();
18
19
public:
20
  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SharedCertVerifier)
21
22
  SharedCertVerifier(OcspDownloadConfig odc, OcspStrictConfig osc,
23
                     mozilla::TimeDuration ocspSoftTimeout,
24
                     mozilla::TimeDuration ocspHardTimeout,
25
                     uint32_t certShortLifetimeInDays,
26
                     PinningMode pinningMode, SHA1Mode sha1Mode,
27
                     BRNameMatchingPolicy::Mode nameMatchingMode,
28
                     NetscapeStepUpPolicy netscapeStepUpPolicy,
29
                     CertificateTransparencyMode ctMode,
30
                     DistrustedCAPolicy distrustedCAPolicy)
31
    : mozilla::psm::CertVerifier(odc, osc, ocspSoftTimeout,
32
                                 ocspHardTimeout, certShortLifetimeInDays,
33
                                 pinningMode, sha1Mode, nameMatchingMode,
34
                                 netscapeStepUpPolicy, ctMode,
35
                                 distrustedCAPolicy)
36
0
  {
37
0
  }
38
};
39
40
} } // namespace mozilla::psm
41
42
#endif // SharedCertVerifier_h