Struct xpcom::interfaces::nsITLSServerConnectionInfo [] [src]

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

interface nsITLSServerConnectionInfo : nsISupports

/**
 * Connection info for a given TLS client connection being handled by a
 * |nsITLSServerSocket| server.  This object is thread-safe.
 *
 * This is exposed as the security info object on the transport, so it can be
 * accessed via |transport.securityInfo|.
 *
 * This interface is available by the time the |onSocketAttached| is called,
 * which is the first time the TLS server consumer is notified of a new client.
 */

Methods

impl nsITLSServerConnectionInfo
[src]

[src]

Cast this nsITLSServerConnectionInfo to one of its base interfaces.

impl nsITLSServerConnectionInfo
[src]

[src]

/**
   * setSecurityObserver
   *
   * Set the security observer to be notified when the TLS handshake has
   * completed.
   */

void setSecurityObserver (in nsITLSServerSecurityObserver observer);

[src]

/**
   * serverSocket
   *
   * The nsITLSServerSocket instance that accepted this client connection.
   */

readonly attribute nsITLSServerSocket serverSocket;

[src]

/**
   * status
   *
   * Security summary for this TLS client connection.  Note that the values of
   * this interface are not available until the TLS handshake has completed.
   * See |nsITLSClientStatus| above for more details.
   */

readonly attribute nsITLSClientStatus status;

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

IID: nsIID = nsID(2324952533, 60893, 19554, [164, 189, 191, 210, 151, 101, 49, 132])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITLSServerConnectionInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.