/[resiprocate]/main/resip/dum/test/certServer.cxx
ViewVC logotype

Diff of /main/resip/dum/test/certServer.cxx

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

revision 3603 by jason, Tue Nov 23 07:00:19 2004 UTC revision 4010 by jason, Sat Mar 19 03:54:17 2005 UTC
# Line 19  Line 19 
19  #include "resiprocate/dum/DialogUsageManager.hxx"  #include "resiprocate/dum/DialogUsageManager.hxx"
20  #include "resiprocate/dum/DumShutdownHandler.hxx"  #include "resiprocate/dum/DumShutdownHandler.hxx"
21  #include "resiprocate/dum/OutOfDialogHandler.hxx"  #include "resiprocate/dum/OutOfDialogHandler.hxx"
22  #include "resiprocate/dum/Profile.hxx"  #include "resiprocate/dum/MasterProfile.hxx"
23  #include "resiprocate/dum/PublicationHandler.hxx"  #include "resiprocate/dum/PublicationHandler.hxx"
24  #include "resiprocate/dum/RegistrationHandler.hxx"  #include "resiprocate/dum/RegistrationHandler.hxx"
25  #include "resiprocate/dum/ServerPublication.hxx"  #include "resiprocate/dum/ServerPublication.hxx"
# Line 191  Line 191 
191           {           {
192              // !jf! really need to do this async. send neutral state in the meantime,              // !jf! really need to do this async. send neutral state in the meantime,
193              // blah blah blah              // blah blah blah
194              mSecurity.generateUserCert(h->getDocumentKey(), Data::Empty);              mSecurity.generateUserCert(h->getDocumentKey());
195           }           }
196    
197           if (mSecurity.hasUserCert(h->getDocumentKey()))           if (mSecurity.hasUserCert(h->getDocumentKey()))
# Line 296  Line 296 
296           mProfile.addSupportedMimeType(X509Contents::getStaticType());           mProfile.addSupportedMimeType(X509Contents::getStaticType());
297                    
298           mProfile.setDefaultFrom(me);           mProfile.setDefaultFrom(me);
299           setProfile(&mProfile);           setMasterProfile(&mProfile);
300    
301           addServerSubscriptionHandler(Symbols::Credential, &mPrivateKeyServer);           addServerSubscriptionHandler(Symbols::Credential, &mPrivateKeyServer);
302           addServerSubscriptionHandler(Symbols::Certificate, &mCertServer);           addServerSubscriptionHandler(Symbols::Certificate, &mCertServer);
# Line 341  Line 341 
341        }        }
342    
343     private:     private:
344        Profile mProfile;        MasterProfile mProfile;
345        CertSubscriptionHandler mCertServer;        CertSubscriptionHandler mCertServer;
346        PrivateKeySubscriptionHandler mPrivateKeyServer;        PrivateKeySubscriptionHandler mPrivateKeyServer;
347        CertPublicationHandler mCertUpdater;        CertPublicationHandler mCertUpdater;

Legend:
Removed from v.3603  
changed lines
  Added in v.4010

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27