Arc::MessageAuth Class Reference

Contains authencity information, authorization tokens and decisions. More...

#include <MessageAuth.h>

Inheritance diagram for Arc::MessageAuth:
Arc::MessageAuthContext

Public Member Functions

void set (const std::string &key, SecAttr *value)
void remove (const std::string &key)
SecAttrget (const std::string &key)
SecAttroperator[] (const std::string &key)
bool Export (SecAttrFormat format, XMLNode &val) const
MessageAuthFilter (const std::list< std::string > &selected_keys, const std::list< std::string > &rejected_keys)

Detailed Description

Contains authencity information, authorization tokens and decisions.

This class only supports string keys and SecAttr values.


Member Function Documentation

bool Arc::MessageAuth::Export ( SecAttrFormat  format,
XMLNode val 
) const

Returns properly catenated attributes in specified format.

Content of XML node at is replaced with generated information if XML tree is empty. If tree at is not empty then Export() tries to merge generated information to already existing like everything would be generated inside same Export() method. If does not represent valid node then new XML tree is created.

MessageAuth* Arc::MessageAuth::Filter ( const std::list< std::string > &  selected_keys,
const std::list< std::string > &  rejected_keys 
)

Creates new instance of MessageAuth with attributes filtered.

In new instance all attributes with keys listed in are removed. If is not empty only corresponding attributes are transferred to new instance. Created instance does not own refered attributes. Hence parent instance must not be deleted as long as this one is in use.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:25 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3