michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _NSX509CERTVALIDITY_H_ michael@0: #define _NSX509CERTVALIDITY_H_ michael@0: michael@0: #include "nsIX509CertValidity.h" michael@0: michael@0: #include "certt.h" michael@0: michael@0: class nsX509CertValidity : public nsIX509CertValidity michael@0: { michael@0: public: michael@0: NS_DECL_THREADSAFE_ISUPPORTS michael@0: NS_DECL_NSIX509CERTVALIDITY michael@0: michael@0: nsX509CertValidity(); michael@0: nsX509CertValidity(CERTCertificate *cert); michael@0: virtual ~nsX509CertValidity(); michael@0: /* additional members */ michael@0: michael@0: private: michael@0: PRTime mNotBefore, mNotAfter; michael@0: bool mTimesInitialized; michael@0: }; michael@0: michael@0: #endif