38 if (h->getDocumentKey() == h->getPublisher())
40 h->send(h->accept(200));
44 h->send(h->accept(403));
68 if (h->getDocumentKey() == h->getPublisher())
73 h->send(h->accept(200));
77 h->send(h->accept(403));
#define resip_assert(x)
This file needs to work for both C and C++ code.
virtual void onRefresh(resip::ServerPublicationHandle, const resip::Data &etag, const resip::SipMessage &pub, const resip::Contents *contents, const resip::SecurityAttributes *attrs, uint32_t expires)
virtual void onInitial(resip::ServerPublicationHandle h, const resip::Data &etag, const resip::SipMessage &pub, const resip::Contents *contents, const resip::SecurityAttributes *attrs, uint32_t expires)
virtual void onUpdate(resip::ServerPublicationHandle h, const resip::Data &etag, const resip::SipMessage &pub, const resip::Contents *contents, const resip::SecurityAttributes *attrs, uint32_t expires)
virtual void onRemoved(resip::ServerPublicationHandle h, const resip::Data &etag, const resip::SipMessage &pub, uint32_t expires)
PrivateKeyPublicationHandler(resip::Security &security)
virtual void onExpired(resip::ServerPublicationHandle h, const resip::Data &etag)
void removeUserPrivateKey(const Data &aor)
void addUserPrivateKeyDER(const Data &aor, const Data &certDER, const Data &privateKeyPassPhrase=Data::Empty)
Base class for all SIP body types.
virtual Data getBodyData() const
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
SIP body type for holding PKCS8 contents (MIME content-type application/pkcs8).
Represents a SIP message.
This Class is used to implement a primitive form of RPC using loose XML formatting.
dcm! – add UnusedChecking(_enum) below;