security/manager/ssl/public/nsIX509CertValidity.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     2  *
     3  * This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #include "nsISupports.idl"
     9 /**
    10  * Information on the validity period of a X.509 certificate.
    11  */
    12 [scriptable, uuid(e701dfd8-1dd1-11b2-a172-ffa6cc6156ad)]
    13 interface nsIX509CertValidity : nsISupports {
    15   /**
    16    *  The earliest point in time where
    17    *  a certificate is valid.
    18    */
    19   readonly attribute PRTime notBefore;
    21   /**
    22    *  "notBefore" attribute formatted as a time string
    23    *  according to the environment locale,
    24    *  according to the environment time zone.
    25    */
    26   readonly attribute AString notBeforeLocalTime;
    28   /**
    29    *  The day portion of "notBefore" 
    30    *  formatted as a time string
    31    *  according to the environment locale,
    32    *  according to the environment time zone.
    33    */
    34   readonly attribute AString notBeforeLocalDay;
    36   /**
    37    *  "notBefore" attribute formatted as a string
    38    *  according to the environment locale,
    39    *  displayed as GMT / UTC.
    40    */
    41   readonly attribute AString notBeforeGMT;
    43   /**
    44    *  The latest point in time where
    45    *  a certificate is valid.
    46    */
    47   readonly attribute PRTime notAfter;
    49   /**
    50    *  "notAfter" attribute formatted as a time string
    51    *  according to the environment locale,
    52    *  according to the environment time zone.
    53    */
    54   readonly attribute AString notAfterLocalTime;
    56   /**
    57    *  The day portion of "notAfter" 
    58    *  formatted as a time string
    59    *  according to the environment locale,
    60    *  according to the environment time zone.
    61    */
    62   readonly attribute AString notAfterLocalDay;
    64   /**
    65    *  "notAfter" attribute formatted as a time string
    66    *  according to the environment locale,
    67    *  displayed as GMT / UTC.
    68    */
    69   readonly attribute AString notAfterGMT;
    70 };

mercurial