Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
nsClientAuthRememberEntry Class Reference

#include <nsClientAuthRemember.h>

Inheritance diagram for nsClientAuthRememberEntry:
Inheritance graph
[legend]
Collaboration diagram for nsClientAuthRememberEntry:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { ALLOW_MEMMOVE = PR_FALSE }
typedef const char * KeyType
typedef const char * KeyTypePointer

Public Member Functions

 nsClientAuthRememberEntry (KeyTypePointer aHostWithCertUTF8)
 nsClientAuthRememberEntry (const nsClientAuthRememberEntry &toCopy)
 ~nsClientAuthRememberEntry ()
KeyType GetKey () const
KeyTypePointer GetKeyPointer () const
PRBool KeyEquals (KeyTypePointer aKey) const
const nsCStringHostWithCert () const
KeyTypePointer HostWithCertPtr () const

Static Public Member Functions

static KeyTypePointer KeyToPointer (KeyType aKey)
static PLDHashNumber HashKey (KeyTypePointer aKey)

Public Attributes

nsClientAuthRemember mSettings
nsCString mHostWithCert
PLDHashNumber keyHash

Detailed Description

Definition at line 80 of file nsClientAuthRemember.h.


Member Typedef Documentation

Definition at line 84 of file nsClientAuthRemember.h.

Definition at line 85 of file nsClientAuthRemember.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ALLOW_MEMMOVE 

Definition at line 128 of file nsClientAuthRemember.h.


Constructor & Destructor Documentation

Definition at line 88 of file nsClientAuthRemember.h.

    {
    }

Definition at line 92 of file nsClientAuthRemember.h.

    {
      mSettings = toCopy.mSettings;
    }

Definition at line 97 of file nsClientAuthRemember.h.

    {
    }

Member Function Documentation

Definition at line 101 of file nsClientAuthRemember.h.

    {
      return HostWithCertPtr();
    }

Here is the call graph for this function:

Definition at line 106 of file nsClientAuthRemember.h.

    {
      return HostWithCertPtr();
    }

Here is the call graph for this function:

Definition at line 121 of file nsClientAuthRemember.h.

    {
      // PL_DHashStringKey doesn't use the table parameter, so we can safely
      // pass nsnull
      return PL_DHashStringKey(nsnull, aKey);
    }

Here is the call graph for this function:

Definition at line 131 of file nsClientAuthRemember.h.

{ return mHostWithCert; }

Definition at line 133 of file nsClientAuthRemember.h.

    {
      return mHostWithCert.get();
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 111 of file nsClientAuthRemember.h.

    {
      return !strcmp(HostWithCertPtr(), aKey);
    }

Here is the call graph for this function:

Definition at line 116 of file nsClientAuthRemember.h.

    {
      return aKey;
    }

Member Data Documentation

Definition at line 113 of file pldhash.h.

Definition at line 139 of file nsClientAuthRemember.h.

Definition at line 138 of file nsClientAuthRemember.h.


The documentation for this class was generated from the following file: