LCOV - code coverage report
Current view: top level - security/manager/ssl - SharedCertVerifier.h (source / functions) Hit Total Coverage
Test: output.info Lines: 5 5 100.0 %
Date: 2017-07-14 16:53:18 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       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           1 :   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SharedCertVerifier)
      21             : 
      22           1 :   SharedCertVerifier(OcspDownloadConfig odc, OcspStrictConfig osc,
      23             :                      OcspGetConfig ogc,
      24             :                      mozilla::TimeDuration ocspSoftTimeout,
      25             :                      mozilla::TimeDuration ocspHardTimeout,
      26             :                      uint32_t certShortLifetimeInDays,
      27             :                      PinningMode pinningMode, SHA1Mode sha1Mode,
      28             :                      BRNameMatchingPolicy::Mode nameMatchingMode,
      29             :                      NetscapeStepUpPolicy netscapeStepUpPolicy,
      30             :                      CertificateTransparencyMode ctMode)
      31           1 :     : mozilla::psm::CertVerifier(odc, osc, ogc, ocspSoftTimeout,
      32             :                                  ocspHardTimeout, certShortLifetimeInDays,
      33             :                                  pinningMode, sha1Mode, nameMatchingMode,
      34           1 :                                  netscapeStepUpPolicy, ctMode)
      35             :   {
      36           1 :   }
      37             : };
      38             : 
      39             : } } // namespace mozilla::psm
      40             : 
      41             : #endif // SharedCertVerifier_h

Generated by: LCOV version 1.13