|
reSIProcate/stack
9694
|
SIP body type for holding X509 contents (MIME content-type application/pkix-cert). More...
#include <X509Contents.hxx>


Public Member Functions | |
| X509Contents () | |
| X509Contents (const Data &text) | |
| X509Contents (const HeaderFieldValue &hfv, const Mime &contentType) | |
| X509Contents (const Data &data, const Mime &contentType) | |
| X509Contents (const X509Contents &rhs) | |
| virtual | ~X509Contents () |
| X509Contents & | operator= (const X509Contents &rhs) |
| virtual Contents * | clone () const |
| duplicate an X509Contents object | |
| virtual EncodeStream & | encodeParsed (EncodeStream &str) const |
| virtual void | parse (ParseBuffer &pb) |
| Data & | text () |
Static Public Member Functions | |
| static const Mime & | getStaticType () |
| static bool | init () |
Static Public Attributes | |
| static const X509Contents | Empty |
Private Attributes | |
| Data | mText |
SIP body type for holding X509 contents (MIME content-type application/pkix-cert).
Definition at line 14 of file X509Contents.hxx.
| X509Contents::X509Contents | ( | ) |
Definition at line 28 of file X509Contents.cxx.
Referenced by clone().
: Contents(getStaticType()), mText() { }
| X509Contents::X509Contents | ( | const Data & | text | ) |
Definition at line 34 of file X509Contents.cxx.
: Contents(getStaticType()), mText(txt) { }
| X509Contents::X509Contents | ( | const HeaderFieldValue & | hfv, |
| const Mime & | contentType | ||
| ) |
Definition at line 46 of file X509Contents.cxx.
Definition at line 40 of file X509Contents.cxx.
| X509Contents::X509Contents | ( | const X509Contents & | rhs | ) |
Definition at line 52 of file X509Contents.cxx.
| X509Contents::~X509Contents | ( | ) | [virtual] |
Definition at line 58 of file X509Contents.cxx.
{
}
| Contents * X509Contents::clone | ( | ) | const [virtual] |
duplicate an X509Contents object
Implements resip::Contents.
Definition at line 74 of file X509Contents.cxx.
References X509Contents().
{
return new X509Contents(*this);
}

| EncodeStream & X509Contents::encodeParsed | ( | EncodeStream & | str | ) | const [virtual] |
Implements resip::LazyParser.
Definition at line 87 of file X509Contents.cxx.
References mText.
{
//DebugLog(<< "X509Contents::encodeParsed " << mText);
str << mText;
return str;
}
| const Mime & X509Contents::getStaticType | ( | ) | [static] |
| bool X509Contents::init | ( | ) | [static] |
Reimplemented from resip::Contents.
Definition at line 21 of file X509Contents.cxx.
{
static ContentsFactory<X509Contents> factory;
(void)factory;
return true;
}
| X509Contents & X509Contents::operator= | ( | const X509Contents & | rhs | ) |
Definition at line 63 of file X509Contents.cxx.
References mText.
{
if (this != &rhs)
{
Contents::operator=(rhs);
mText = rhs.mText;
}
return *this;
}
| void X509Contents::parse | ( | ParseBuffer & | pb | ) | [virtual] |
Implements resip::LazyParser.
Definition at line 96 of file X509Contents.cxx.
References resip::ParseBuffer::data(), mText, resip::ParseBuffer::position(), and resip::ParseBuffer::skipToEnd().

| Data& resip::X509Contents::text | ( | ) | [inline] |
Definition at line 37 of file X509Contents.hxx.
References resip::LazyParser::checkParsed(), and mText.
{checkParsed(); return mText;}

const X509Contents X509Contents::Empty [static] |
Definition at line 17 of file X509Contents.hxx.
Data resip::X509Contents::mText [private] |
Definition at line 42 of file X509Contents.hxx.
Referenced by encodeParsed(), operator=(), parse(), and text().
1.7.5.1