Struct xpcom::interfaces::nsIClientAuthDialogs [] [src]

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

interface nsIClientAuthDialogs : nsISupports

/**
 * Provides UI for SSL client-auth dialogs.
 */

Methods

impl nsIClientAuthDialogs
[src]

[src]

Cast this nsIClientAuthDialogs to one of its base interfaces.

impl nsIClientAuthDialogs
[src]

[src]

/**
   * Called when a user is asked to choose a certificate for client auth.
   *
   * @param ctx Context that allows at least nsIClientAuthUserDecision to be
   *            queried.
   * @param hostname Hostname of the server.
   * @param port Port of the server.
   * @param organization Organization field of the server cert.
   * @param issuerOrg Organization field of the issuer cert of the server cert.
   * @param certList List of certificates the user can choose from.
   * @param selectedIndex Index of the cert in |certList| that the user chose.
   *                      Ignored if the return value is false.
   * @return true if a certificate was chosen. false if the user canceled.
   */

[must_use] boolean chooseCertificate (in nsIInterfaceRequestor ctx, in AUTF8String hostname, in long port, in AUTF8String organization, in AUTF8String issuerOrg, in nsIArray certList, out unsigned long selectedIndex);

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

IID: nsIID = nsID(4199314720, 5171, 4565, [186, 36, 0, 16, 131, 3, 177, 23])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIClientAuthDialogs
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.