Struct xpcom::interfaces::nsICertVerificationCallback
[−]
[src]
#[repr(C)]pub struct nsICertVerificationCallback { /* fields omitted */ }
interface nsICertVerificationCallback : nsISupports
/**
* Callback type for use with asyncVerifyCertAtTime.
* If aPRErrorCode is PRErrorCodeSuccess (i.e. 0), aVerifiedChain represents the
* verified certificate chain determined by asyncVerifyCertAtTime. aHasEVPolicy
* represents whether or not the end-entity certificate verified as EV.
* If aPRErrorCode is non-zero, it represents the error encountered during
* verification. aVerifiedChain is null in that case and aHasEVPolicy has no
* meaning.
*/
Methods
impl nsICertVerificationCallback
[src]
pub fn coerce<T: nsICertVerificationCallbackCoerce>(&self) -> &T
[src]
Cast this nsICertVerificationCallback
to one of its base interfaces.
impl nsICertVerificationCallback
[src]
pub unsafe fn VerifyCertFinished(
&self,
aPRErrorCode: int32_t,
aVerifiedChain: *const nsIX509CertList,
aHasEVPolicy: bool
) -> nsresult
[src]
&self,
aPRErrorCode: int32_t,
aVerifiedChain: *const nsIX509CertList,
aHasEVPolicy: bool
) -> nsresult
void verifyCertFinished (in int32_t aPRErrorCode, in nsIX509CertList aVerifiedChain, in bool aHasEVPolicy);
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 nsICertVerificationCallback
[src]
const IID: nsIID
IID: nsIID = nsID(1239510984, 61356, 20311, [131, 97, 149, 110, 246, 185, 96, 164])
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 nsICertVerificationCallback
[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 nsICertVerificationCallback
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.