Struct xpcom::interfaces::nsITLSClientStatus [] [src]

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

interface nsITLSClientStatus : nsISupports

/**
 * Security summary for a given TLS client connection being handled by a
 * |nsITLSServerSocket| server.
 *
 * This is accessible through the security info object on the transport, which
 * will be an instance of |nsITLSServerConnectionInfo| (see below).
 *
 * The values of these attributes are available once the |onHandshakeDone|
 * method of the security observer has been called (see
 * |nsITLSServerSecurityObserver| below).
 */

Methods

impl nsITLSClientStatus
[src]

[src]

Cast this nsITLSClientStatus to one of its base interfaces.

impl nsITLSClientStatus
[src]

SSL_VERSION_3: i64 = 768
/**
   * Values for tlsVersionUsed, as defined by TLS
   */

TLS_VERSION_1: i64 = 769

TLS_VERSION_1_1: i64 = 770

TLS_VERSION_1_2: i64 = 771

TLS_VERSION_1_3: i64 = 772

TLS_VERSION_UNKNOWN: i64 = -1

[src]

/**
   * peerCert
   *
   * The client's certificate, if one was requested via |requestCertificate|
   * above and supplied by the client.
   */

readonly attribute nsIX509Cert peerCert;

[src]

/**
   * tlsVersionUsed
   *
   * The version of TLS used by the connection.  See values above.
   */

readonly attribute short tlsVersionUsed;

[src]

/**
   * cipherName
   *
   * Name of the cipher suite used, such as
   * "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256".
   * See security/nss/lib/ssl/sslinfo.c for the possible values.
   */

readonly attribute ACString cipherName;

[src]

/**
   * keyLength
   *
   * The "effective" key size of the symmetric key in bits.
   */

readonly attribute unsigned long keyLength;

[src]

/**
   * macLength
   *
   * The size of the MAC in bits.
   */

readonly attribute unsigned long macLength;

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

IID: nsIID = nsID(426151588, 58797, 16770, [150, 152, 126, 137, 13, 72, 243, 39])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsITLSClientStatus
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.