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]

[src]

Cast this nsIBadCertListener2 to one of its base interfaces.

impl nsIBadCertListener2
[src]

[src]

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

[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 nsIBadCertListener2
[src]

IID: nsIID = nsID(742205068, 44418, 18931, [153, 170, 233, 255, 221, 215, 160, 220])

[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]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIBadCertListener2
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.