1#if defined(HAVE_CONFIG_H)
14#define RESIPROCATE_SUBSYSTEM Subsystem::SIP
118 static Mime type(
"application",
"pkcs7-mime");
125 static Mime type(
"application",
"pkcs7-signature");
144 pb.
data(mText, anchor);
Base class for all SIP body types.
Contents & operator=(const Contents &rhs)
Assignment operator.
H_ContentTransferEncoding::Type * mTransferEncoding
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Data base64decode() const
Performs RFC 3548 Base 64 decoding of the contents of this data.
Data escaped() const
Returns a representation of the contents of the data with any non-printable characters escaped.
Represents the "media-type" element in the RFC 3261 grammar.
Provides string-parsing functionality with protection from buffer overflow.
CurrentPosition skipToEnd()
CurrentPosition position() const
void data(Data &data, const char *start) const
make the passed in data share memory with the buffer (uses Data::Share)
SIP body type for holding PKCS7 contents (MIME content-type application/pkcs7-mime).
virtual void parse(ParseBuffer &pb)
virtual Contents * clone() const
duplicate an Pkcs7Contents object
virtual EncodeStream & encodeParsed(EncodeStream &str) const
Pkcs7Contents & operator=(const Pkcs7Contents &rhs)
static const Mime & getStaticType()
static const Pkcs7Contents Empty
SIP body type for holding PKCS7 Signed contents (MIME content-type application/pkcs7-signature).
static const Mime & getStaticType()
static const Pkcs7SignedContents Empty
virtual Contents * clone() const
duplicate an Pkcs7SignedContents object
virtual ~Pkcs7SignedContents()
dcm! – add UnusedChecking(_enum) below;