Back to index

nordugrid-arc-nox  1.1.0~rc6
DelegationSecAttr.h
Go to the documentation of this file.
00001 #include <arc/message/SecAttr.h>
00002 
00003 namespace ArcSec {
00004 
00005 class DelegationSecAttr: public Arc::SecAttr {
00006  public:
00007   DelegationSecAttr(void);
00008   DelegationSecAttr(const char* policy_str,int policy_size = -1);
00009   virtual ~DelegationSecAttr(void);
00010   virtual operator bool(void) const;
00011   virtual bool Export(Arc::SecAttrFormat format,Arc::XMLNode &val) const;
00012  protected:
00013   Arc::XMLNode policy_doc_;
00014   virtual bool equal(const Arc::SecAttr &b) const;
00015 };
00016 
00017 class DelegationMultiSecAttr: public Arc::MultiSecAttr {
00018  public:
00019   DelegationMultiSecAttr(void);
00020   virtual ~DelegationMultiSecAttr(void);
00021   //virtual operator bool() const;
00022   virtual bool Export(Arc::SecAttrFormat format,Arc::XMLNode &val) const;
00023   bool Add(const char* policy_str,int policy_size = -1);
00024 };
00025 
00026 }