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/. */
5 #ifndef X509CertValidity_h
6 #define X509CertValidity_h
8 #include "mozpkix/Input.h"
9 #include "nsIX509CertValidity.h"
12 class X509CertValidity
: public nsIX509CertValidity
{
14 NS_DECL_THREADSAFE_ISUPPORTS
15 NS_DECL_NSIX509CERTVALIDITY
17 explicit X509CertValidity(mozilla::pkix::Input certDER
);
19 X509CertValidity(const X509CertValidity
& x
) = delete;
20 X509CertValidity
& operator=(const X509CertValidity
& x
) = delete;
23 virtual ~X509CertValidity() = default;
28 bool mTimesInitialized
;
31 #endif // X509CertValidity_h