|
reSIProcate/repro
9694
|
#include <CertServer.hxx>

Public Member Functions | |
| CertServer (resip::DialogUsageManager &dum) | |
| ~CertServer () | |
Private Attributes | |
| resip::DialogUsageManager & | mDum |
| PrivateKeySubscriptionHandler | mPrivateKeyServer |
| PrivateKeyPublicationHandler | mPrivateKeyUpdater |
| CertSubscriptionHandler | mCertServer |
| CertPublicationHandler | mCertUpdater |
Definition at line 17 of file CertServer.hxx.
| CertServer::CertServer | ( | resip::DialogUsageManager & | dum | ) |
Definition at line 12 of file CertServer.cxx.
: mDum(dum), mPrivateKeyServer(*mDum.getSecurity()), mPrivateKeyUpdater(*mDum.getSecurity()), mCertServer(*mDum.getSecurity()), mCertUpdater(*mDum.getSecurity()) { MasterProfile& profile = *mDum.getMasterProfile(); profile.addSupportedMethod(PUBLISH); profile.addSupportedMethod(SUBSCRIBE); //profile.validateAcceptEnabled() = true; // !slg! this causes Accept validation for registration requests as well, which is not really desired profile.validateContentEnabled() = true; profile.addSupportedMimeType(PUBLISH, Pkcs8Contents::getStaticType()); profile.addSupportedMimeType(SUBSCRIBE, Pkcs8Contents::getStaticType()); profile.addSupportedMimeType(PUBLISH, X509Contents::getStaticType()); profile.addSupportedMimeType(SUBSCRIBE, X509Contents::getStaticType()); mDum.addServerSubscriptionHandler(Symbols::Credential, &mPrivateKeyServer); mDum.addServerSubscriptionHandler(Symbols::Certificate, &mCertServer); mDum.addServerPublicationHandler(Symbols::Credential, &mPrivateKeyUpdater); mDum.addServerPublicationHandler(Symbols::Certificate, &mCertUpdater); //setServerAuthManager(std::auto_ptr<ServerAuthManager>(new ServerAuthManager(profile))); }
| CertServer::~CertServer | ( | ) |
Definition at line 36 of file CertServer.cxx.
{
}
Definition at line 28 of file CertServer.hxx.
Definition at line 29 of file CertServer.hxx.
resip::DialogUsageManager& repro::CertServer::mDum [private] |
Definition at line 24 of file CertServer.hxx.
Definition at line 26 of file CertServer.hxx.
Definition at line 27 of file CertServer.hxx.
1.7.5.1