Struct xpcom::interfaces::nsIBadCertListener2
[−]
[src]
#[repr(C)]pub struct nsIBadCertListener2 { /* fields omitted */ }
interface nsIBadCertListener2 : nsISupports
/**
* A mechanism to report a broken SSL status. The recipient should NOT block.
* Can be used to obtain the SSL handshake status of a connection
* that will be canceled because of improper cert status.
*/
Methods
impl nsIBadCertListener2
[src]
pub fn coerce<T: nsIBadCertListener2Coerce>(&self) -> &T
[src]
Cast this nsIBadCertListener2
to one of its base interfaces.
impl nsIBadCertListener2
[src]
pub unsafe fn NotifyCertProblem(
&self,
socketInfo: *const nsIInterfaceRequestor,
status: *const nsISSLStatus,
targetSite: &nsACString,
_retval: *mut bool
) -> nsresult
[src]
&self,
socketInfo: *const nsIInterfaceRequestor,
status: *const nsISSLStatus,
targetSite: &nsACString,
_retval: *mut bool
) -> nsresult
/**
* @param socketInfo A network communication context that can be used to obtain more information
* about the active connection.
* @param status The SSL status object that describes the problem(s).
* @param targetSite The Site name that was used to open the current connection.
*
* @return The consumer shall return true if it wants to suppress the error message
* related to the bad cert (the connection will still get canceled).
*/
boolean notifyCertProblem (in nsIInterfaceRequestor socketInfo, in nsISSLStatus status, in AUTF8String targetSite);
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 nsIBadCertListener2
[src]
const IID: nsIID
IID: nsIID = nsID(742205068, 44418, 18931, [153, 170, 233, 255, 221, 215, 160, 220])
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 nsIBadCertListener2
[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 nsIBadCertListener2
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.