Struct xpcom::interfaces::nsIX509CertValidity [] [src]

#[repr(C)]
pub struct nsIX509CertValidity { /* fields omitted */ }

interface nsIX509CertValidity : nsISupports

/**
 * Information on the validity period of a X.509 certificate.
 */

Methods

impl nsIX509CertValidity
[src]

[src]

Cast this nsIX509CertValidity to one of its base interfaces.

impl nsIX509CertValidity
[src]

[src]

/**
   *  The earliest point in time where
   *  a certificate is valid.
   */

readonly attribute PRTime notBefore;

[src]

/**
   *  "notBefore" attribute formatted as a time string
   *  according to the environment locale,
   *  according to the environment time zone.
   */

[must_use] readonly attribute AString notBeforeLocalTime;

[src]

/**
   *  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;

[src]

/**
   *  "notBefore" attribute formatted as a string
   *  according to the environment locale,
   *  displayed as GMT / UTC.
   */

[must_use] readonly attribute AString notBeforeGMT;

[src]

/**
   *  The latest point in time where
   *  a certificate is valid.
   */

readonly attribute PRTime notAfter;

[src]

/**
   *  "notAfter" attribute formatted as a time string
   *  according to the environment locale,
   *  according to the environment time zone.
   */

[must_use] readonly attribute AString notAfterLocalTime;

[src]

/**
   *  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;

[src]

/**
   *  "notAfter" attribute formatted as a time string
   *  according to the environment locale,
   *  displayed as GMT / UTC.
   */

[must_use] readonly attribute AString notAfterGMT;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIX509CertValidity
[src]

IID: nsIID = nsID(3875659736, 7633, 4530, [161, 114, 255, 166, 204, 97, 86, 173])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIX509CertValidity
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIX509CertValidity
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.