2002-09-17 22:51:22 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-31 13:33:35 +04:00
|
|
|
* 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/. */
|
2002-09-17 22:51:22 +04:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
2002-11-14 03:50:02 +03:00
|
|
|
/**
|
|
|
|
* Information on the validity period of a X.509 certificate.
|
|
|
|
*/
|
2002-09-17 22:51:22 +04:00
|
|
|
[scriptable, uuid(e701dfd8-1dd1-11b2-a172-ffa6cc6156ad)]
|
|
|
|
interface nsIX509CertValidity : nsISupports {
|
2002-11-14 03:50:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The earliest point in time where
|
|
|
|
* a certificate is valid.
|
|
|
|
*/
|
2002-09-17 22:51:22 +04:00
|
|
|
readonly attribute PRTime notBefore;
|
2002-11-14 03:50:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* "notBefore" attribute formatted as a time string
|
|
|
|
* according to the environment locale,
|
|
|
|
* according to the environment time zone.
|
|
|
|
*/
|
2002-09-24 00:17:16 +04:00
|
|
|
readonly attribute AString notBeforeLocalTime;
|
2002-11-14 03:50:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The day portion of "notBefore"
|
|
|
|
* formatted as a time string
|
|
|
|
* according to the environment locale,
|
|
|
|
* according to the environment time zone.
|
|
|
|
*/
|
|
|
|
readonly attribute AString notBeforeLocalDay;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* "notBefore" attribute formatted as a string
|
|
|
|
* according to the environment locale,
|
|
|
|
* displayed as GMT / UTC.
|
|
|
|
*/
|
2002-09-24 00:17:16 +04:00
|
|
|
readonly attribute AString notBeforeGMT;
|
2002-11-14 03:50:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The latest point in time where
|
|
|
|
* a certificate is valid.
|
|
|
|
*/
|
2002-09-17 22:51:22 +04:00
|
|
|
readonly attribute PRTime notAfter;
|
2002-11-14 03:50:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* "notAfter" attribute formatted as a time string
|
|
|
|
* according to the environment locale,
|
|
|
|
* according to the environment time zone.
|
|
|
|
*/
|
2002-09-24 00:17:16 +04:00
|
|
|
readonly attribute AString notAfterLocalTime;
|
2002-11-14 03:50:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The day portion of "notAfter"
|
|
|
|
* formatted as a time string
|
|
|
|
* according to the environment locale,
|
|
|
|
* according to the environment time zone.
|
|
|
|
*/
|
|
|
|
readonly attribute AString notAfterLocalDay;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* "notAfter" attribute formatted as a time string
|
|
|
|
* according to the environment locale,
|
|
|
|
* displayed as GMT / UTC.
|
|
|
|
*/
|
2002-09-24 00:17:16 +04:00
|
|
|
readonly attribute AString notAfterGMT;
|
2002-09-17 22:51:22 +04:00
|
|
|
};
|