/[resiprocate]/main/sip/resiprocate/dum/Profile.hxx
ViewVC logotype

Diff of /main/sip/resiprocate/dum/Profile.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2840 by fluffy, Sun May 30 01:27:10 2004 UTC revision 2870 by fluffy, Sun May 30 17:28:44 2004 UTC
# Line 59  Line 59 
59        /// The following functions deal with getting digest credentals        /// The following functions deal with getting digest credentals
60        //@{        //@{
61    
62        void addDigestCredential( const Data& realm, const Data& users, const Data& password);        void addDigestCredential( const Data& realm, const Data& user, const Data& password);
63                
64        /** This class is used as a callback to get digest crednetials. The        /** This class is used as a callback to get digest crednetials. The
65         * derived class must define one of computeA1 or getPaswword. computeA1 is         * derived class must define one of computeA1 or getPaswword. computeA1 is
# Line 75  Line 75 
75        void setDigestHandler( DigestCredentialHandler* handler );        void setDigestHandler( DigestCredentialHandler* handler );
76        //@}        //@}
77                
78          DigestCredentialHandler* getDigestHandler();
79          const Data& getDigestPassword( const Data& realm, const Data& user );
80          
81     private:     private:
82        NameAddr mAor;        NameAddr mAor;
83        int mDefaultRegistrationExpires;        int mDefaultRegistrationExpires;
# Line 86  Line 89 
89        Mimes mSupportedMimeTypes;        Mimes mSupportedMimeTypes;
90        Tokens mSupportedEncodings;        Tokens mSupportedEncodings;
91        Tokens mSupportedLanguages;        Tokens mSupportedLanguages;
92    
93          DigestCredentialHandler* mDigestCredentialHandler;
94          
95          struct DigestCredential
96          {
97                Data realm;
98                Data user;
99                Data password;
100    
101                bool operator<(const DigestCredential& rhs) const;
102          };
103          typedef std::set<DigestCredential> DigestCredentials;
104          DigestCredentials mDigestCredentials;
105  };  };
106        
107    

Legend:
Removed from v.2840  
changed lines
  Added in v.2870

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27