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]
pub fn coerce<T: nsIX509CertValidityCoerce>(&self) -> &T
[src]
Cast this nsIX509CertValidity
to one of its base interfaces.
impl nsIX509CertValidity
[src]
pub unsafe fn GetNotBefore(&self, aNotBefore: *mut PRTime) -> nsresult
[src]
/**
* The earliest point in time where
* a certificate is valid.
*/
readonly attribute PRTime notBefore;
pub unsafe fn GetNotBeforeLocalTime(
&self,
aNotBeforeLocalTime: &mut nsAString
) -> nsresult
[src]
&self,
aNotBeforeLocalTime: &mut nsAString
) -> nsresult
/**
* "notBefore" attribute formatted as a time string
* according to the environment locale,
* according to the environment time zone.
*/
[must_use] readonly attribute AString notBeforeLocalTime;
pub unsafe fn GetNotBeforeLocalDay(
&self,
aNotBeforeLocalDay: &mut nsAString
) -> nsresult
[src]
&self,
aNotBeforeLocalDay: &mut nsAString
) -> nsresult
/**
* 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;
pub unsafe fn GetNotBeforeGMT(&self, aNotBeforeGMT: &mut nsAString) -> nsresult
[src]
/**
* "notBefore" attribute formatted as a string
* according to the environment locale,
* displayed as GMT / UTC.
*/
[must_use] readonly attribute AString notBeforeGMT;
pub unsafe fn GetNotAfter(&self, aNotAfter: *mut PRTime) -> nsresult
[src]
/**
* The latest point in time where
* a certificate is valid.
*/
readonly attribute PRTime notAfter;
pub unsafe fn GetNotAfterLocalTime(
&self,
aNotAfterLocalTime: &mut nsAString
) -> nsresult
[src]
&self,
aNotAfterLocalTime: &mut nsAString
) -> nsresult
/**
* "notAfter" attribute formatted as a time string
* according to the environment locale,
* according to the environment time zone.
*/
[must_use] readonly attribute AString notAfterLocalTime;
pub unsafe fn GetNotAfterLocalDay(
&self,
aNotAfterLocalDay: &mut nsAString
) -> nsresult
[src]
&self,
aNotAfterLocalDay: &mut nsAString
) -> nsresult
/**
* 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;
pub unsafe fn GetNotAfterGMT(&self, aNotAfterGMT: &mut nsAString) -> nsresult
[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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIX509CertValidity
[src]
const IID: nsIID
IID: nsIID = nsID(3875659736, 7633, 4530, [161, 114, 255, 166, 204, 97, 86, 173])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIX509CertValidity
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.