libepp_nicbr
Classes | Public Member Functions | Protected Attributes | List of all members
DomainUpdateCmd Class Reference

EPP DomainUpdateCmd Class. More...

#include <DomainUpdateCmd.H>

Inheritance diagram for DomainUpdateCmd:
Command BrDomainUpdateCmd

Classes

struct  Status
 

Public Member Functions

 DomainUpdateCmd (bool reset=true)
 Default constructor.
 
void set_name (const string &name)
 Sets domain name. More...
 
string get_name () const
 Returns domain name. More...
 
void insert_nameserver_add (const struct NameServer &nameserver_add)
 Inserts a nameserver_add to the list of nameservers. More...
 
vector< struct NameServerget_nameserver_add () const
 Returns a list of nameserver_add. More...
 
void insert_nameserver_rem (const struct NameServer &nameserver_rem)
 Inserts a nameserver_rem to the list of nameservers. More...
 
vector< struct NameServerget_nameserver_rem () const
 Returns a list of nameserver_rem. More...
 
void insert_contact_add (const string &type, const string &identification)
 Inserts a contact_add in the map of contacts. More...
 
map< string, string, less< string > > get_contact_add () const
 Returns map of contacts. More...
 
void insert_contact_rem (const string &type, const string &identification)
 Inserts a contact_rem in the map of contacts. More...
 
map< string, string, less< string > > get_contact_rem () const
 Returns map of contacts. More...
 
void insert_status_add (const struct Status &status_add)
 Changes a status_add. More...
 
set< struct Statusget_status_add () const
 Returns set of domain status_add. More...
 
void insert_status_rem (const struct Status &status_rem)
 Changes a status_rem in _status_rem. More...
 
set< struct Statusget_status_rem () const
 Returns set of domain status_rem. More...
 
void set_registrant (const string &registrant)
 Sets registrant. More...
 
string get_registrant () const
 Returns registrant. More...
 
void set_registrant_f (const bool registrant_f)
 Sets the registrant change flag. More...
 
bool get_registrant_f () const
 Returns the registrant change flag. More...
 
void set_authInfo (const AuthInfo &authInfo)
 Sets authorization information. More...
 
AuthInfo get_authInfo () const
 Returns authorization information. More...
 
void set_secDnsVersion (string secDnsVersion)
 Sets secDNS extension version. More...
 
string get_secDnsVersion () const
 Returns secDNS extension version. More...
 
void set_max_sig_life (const unsigned int max_sig_life)
 Sets the maximum signature life. More...
 
unsigned int get_max_sig_life () const
 Returns the maximum signature life. More...
 
void insert_dnskey_add (const KeyData &keydata)
 Inserts one DNSKEY into the DNSKEY addition list. More...
 
list< KeyDataget_dnskey_add () const
 Returns the DNSKEY addition list. More...
 
void insert_dnskey_rem (const KeyData &keydata)
 Inserts one DNSKEY into the DNSKEY removal list. More...
 
list< KeyDataget_dnskey_rem () const
 Returns the DNSKEY removal list. More...
 
void insert_ds_add (const DSInfo &ds_info)
 Inserts one ds into the ds addition list. More...
 
list< DSInfoget_ds_add () const
 Returns the ds addition list. More...
 
void insert_ds_rem_1_1 (const DSInfo &ds_info)
 Inserts one ds into the ds removal list. More...
 
void insert_ds_rem (const unsigned int &keyTag)
 Inserts one ds into the ds removal list (RFC4310 - DEPRECATED!) More...
 
list< DSInfoget_ds_rem_1_1 () const
 Returns the ds removal list. More...
 
list< unsigned int > get_ds_rem () const
 Returns the ds removal list (RFC4310 - DEPRECATED!) More...
 
void insert_ds_chg (const DSInfo &ds_info)
 Inserts one ds into the ds change list. More...
 
list< DSInfoget_ds_chg () const
 Returns the ds change list. More...
 
void setUrgentFlag (const bool urgentFlag)
 Sets RFC4310 optional "urgent" attribute for domain:update. More...
 
bool isUrgent () const
 Getter for RFC4310 optional "urgent" attribute for domain:update. More...
 
void setRemoveAll (const bool removeAll)
 Sets RFC5910 alternative "remove all" attribute for domain:update. More...
 
bool getRemoveAll () const
 Getter for RFC5910 alternative "remove all" attribute for domain:update. More...
 
void set_rgp_restore (const RGPRestore &rgp_restore)
 Sets RFC3915 RGP restore structure. More...
 
RGPRestore get_rgp_restore () const
 Returns RFC3915 RGP restore structure. More...
 
void set_launch (const LaunchUpdateCmd &launch)
 Sets the launch. More...
 
LaunchUpdateCmd get_launch () const
 Returns the launch. More...
 
bool has_extension () const
 Check if there is any extension.
 
bool has_secdns_extension () const
 Check if there is secDNS extension.
 
bool has_launch_extension () const
 Check if there is launch extension.
 
void reset ()
 Reset object attributes.
 
- Public Member Functions inherited from Command
 Command (bool reset=true)
 Default constructor.
 
void reset ()
 Reset object attributes. More...
 
virtual ~Command ()
 virtual destructor
 
void set_clTRID (const string &clTRID)
 Sets clTRID. More...
 
string get_clTRID () const
 Returns clTRID. More...
 

Protected Attributes

string _name
 fully qualified domain name
 
vector< struct NameServer_nameserver_add
 name servers to be added to the domain object
 
vector< struct NameServer_nameserver_rem
 name servers to be removed from the domain object
 
map< string, string, less< string > > _contact_add
 contacts to be added to the domain object
 
map< string, string, less< string > > _contact_rem
 contacts to be removed from the domain object
 
set< struct Status_status_add
 set of status to be added to the domain object
 
set< struct Status_status_rem
 set of status to be removed from the domain object
 
string _registrant
 registrant
 
bool _registrant_f
 registrant change flag
 
AuthInfo _authInfo
 authorization information
 
string _secDnsVersion
 RFC 4310/5910 secDNS extension version.
 
unsigned int _max_sig_life
 RRSIG max signature life.
 
list< DSInfo_ds_list_add
 list of DS RR to be added to the domain object
 
list< DSInfo_ds_list_rem
 list of DS RR to be removed from the domain object
 
list< unsigned int > _ds_list_rem_1_0
 
list< DSInfo_ds_list_chg
 list of DS to be changed in the domain object (RFC 4310 only!)
 
list< KeyData_dnskey_list_add
 list of DNSKEY RR to be added to the domain object
 
list< KeyData_dnskey_list_rem
 list of DNSKEY RR to be removed from the domain object
 
bool _urgentFlag
 optinal domain:update urgent flag
 
bool _removeAll
 alternative secDNS:all for secDNS:rem
 
RGPRestore _rgp_restore
 RFC 3915 - RGP Restore.
 
LaunchUpdateCmd _launch
 draft-tan-epp-launchphase-11 - Launch
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP DomainUpdateCmd Class.

Member Function Documentation

AuthInfo DomainUpdateCmd::get_authInfo ( ) const
inline

Returns authorization information.

Returns
authorization information

References _authInfo.

Referenced by cmd_domain_update().

map< string, string, less<string> > DomainUpdateCmd::get_contact_add ( ) const
inline

Returns map of contacts.

Returns
map of contacts

References _contact_add.

Referenced by cmd_domain_update().

map< string, string, less<string> > DomainUpdateCmd::get_contact_rem ( ) const
inline

Returns map of contacts.

Returns
map of contacts

References _contact_rem.

Referenced by cmd_domain_update().

list<KeyData> DomainUpdateCmd::get_dnskey_add ( ) const
inline

Returns the DNSKEY addition list.

Returns
list of DNSKEY records to be inserted into the domain object

References _dnskey_list_add.

list<KeyData> DomainUpdateCmd::get_dnskey_rem ( ) const
inline

Returns the DNSKEY removal list.

Returns
list of DNSKEY records to be removed from the domain object

References _dnskey_list_rem.

list<DSInfo> DomainUpdateCmd::get_ds_add ( ) const
inline

Returns the ds addition list.

Returns
list of ds records to be inserted into the domain object

References _ds_list_add.

list<DSInfo> DomainUpdateCmd::get_ds_chg ( ) const
inline

Returns the ds change list.

Returns
list of ds records to be removed from the domain object

References _ds_list_chg.

list<unsigned int> DomainUpdateCmd::get_ds_rem ( ) const
inline

Returns the ds removal list (RFC4310 - DEPRECATED!)

Returns
list of ds records to be removed from the domain object

References _ds_list_rem_1_0.

list<DSInfo> DomainUpdateCmd::get_ds_rem_1_1 ( ) const
inline

Returns the ds removal list.

Returns
list of ds records to be removed from the domain object

References _ds_list_rem.

LaunchUpdateCmd DomainUpdateCmd::get_launch ( ) const
inline

Returns the launch.

Returns
launch

References _launch.

unsigned int DomainUpdateCmd::get_max_sig_life ( ) const
inline

Returns the maximum signature life.

Returns
maximum signature life

References _max_sig_life.

string DomainUpdateCmd::get_name ( ) const
inline

Returns domain name.

Returns
fully qualified domain name

References _name.

Referenced by cmd_domain_update().

vector<struct NameServer> DomainUpdateCmd::get_nameserver_add ( ) const
inline

Returns a list of nameserver_add.

Returns
list of nameserver_add associated with domain object

References _nameserver_add.

Referenced by cmd_domain_update().

vector<struct NameServer> DomainUpdateCmd::get_nameserver_rem ( ) const
inline

Returns a list of nameserver_rem.

Returns
list of nameserver_rem associated with domain object

References _nameserver_rem.

Referenced by cmd_domain_update().

string DomainUpdateCmd::get_registrant ( ) const
inline

Returns registrant.

Returns
registrant The domain registrant

References _registrant.

Referenced by cmd_domain_update().

bool DomainUpdateCmd::get_registrant_f ( ) const
inline

Returns the registrant change flag.

Returns
The registrant change flag

References _registrant_f.

RGPRestore DomainUpdateCmd::get_rgp_restore ( ) const
inline

Returns RFC3915 RGP restore structure.

Returns
RGP restore structure

References _rgp_restore.

Referenced by cmd_domain_update().

string DomainUpdateCmd::get_secDnsVersion ( ) const
inline

Returns secDNS extension version.

Returns
secDNS extension version

References _secDnsVersion.

set<struct Status> DomainUpdateCmd::get_status_add ( ) const
inline

Returns set of domain status_add.

Returns
set of domain status_add

References _status_add.

Referenced by cmd_domain_update().

set<struct Status> DomainUpdateCmd::get_status_rem ( ) const
inline

Returns set of domain status_rem.

Returns
set of domain status_rem

References _status_rem.

Referenced by cmd_domain_update().

bool DomainUpdateCmd::getRemoveAll ( ) const
inline

Getter for RFC5910 alternative "remove all" attribute for domain:update.

Returns
RFC5910 alternative "remove all" attribute for domain:update

References _removeAll.

void DomainUpdateCmd::insert_contact_add ( const string &  type,
const string &  identification 
)
inline

Inserts a contact_add in the map of contacts.

Parameters
type_addcontact type
identification_addcontact identification

References _contact_add.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_contact_rem ( const string &  type,
const string &  identification 
)
inline

Inserts a contact_rem in the map of contacts.

Parameters
type_remcontact type
identification_remcontact identification

References _contact_rem.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_dnskey_add ( const KeyData keydata)
inline

Inserts one DNSKEY into the DNSKEY addition list.

Parameters
keydataDNSKEY information

References _dnskey_list_add.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_dnskey_rem ( const KeyData keydata)
inline

Inserts one DNSKEY into the DNSKEY removal list.

Parameters
key_tagkey tag to identify the DNSKEY to be removed

References _dnskey_list_rem.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_ds_add ( const DSInfo ds_info)
inline

Inserts one ds into the ds addition list.

Parameters
ds_infods information

References _ds_list_add.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_ds_chg ( const DSInfo ds_info)
inline

Inserts one ds into the ds change list.

Parameters
ds_infods information

References _ds_list_chg.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_ds_rem ( const unsigned int &  keyTag)
inline

Inserts one ds into the ds removal list (RFC4310 - DEPRECATED!)

Parameters
key_tagkey tag to identify the DS RR to be removed

References _ds_list_rem_1_0.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_ds_rem_1_1 ( const DSInfo ds_info)
inline

Inserts one ds into the ds removal list.

Parameters
key_tagDS RR to be removed

References _ds_list_rem.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_nameserver_add ( const struct NameServer nameserver_add)
inline

Inserts a nameserver_add to the list of nameservers.

Parameters
nameserver_addfully qualified domain name

References _nameserver_add.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_nameserver_rem ( const struct NameServer nameserver_rem)
inline

Inserts a nameserver_rem to the list of nameservers.

Parameters
nameserver_remfully qualified domain name

References _nameserver_rem.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_status_add ( const struct Status status_add)
inline

Changes a status_add.

Parameters
status_addstatus to be changed

References _status_add.

Referenced by cmd_domain_update().

void DomainUpdateCmd::insert_status_rem ( const struct Status status_rem)
inline

Changes a status_rem in _status_rem.

Parameters
status_remthe status_rem to be changed

References _status_rem.

Referenced by cmd_domain_update().

bool DomainUpdateCmd::isUrgent ( ) const
inline

Getter for RFC4310 optional "urgent" attribute for domain:update.

Returns
RFC4310 optional "urgent" attribute for domain:update

References _urgentFlag.

void DomainUpdateCmd::set_authInfo ( const AuthInfo authInfo)
inline

Sets authorization information.

Parameters
authInfodomain authorization information

References _authInfo.

Referenced by cmd_domain_update().

void DomainUpdateCmd::set_launch ( const LaunchUpdateCmd launch)
inline

Sets the launch.

Parameters
launchlaunch

References _launch.

Referenced by cmd_domain_update().

void DomainUpdateCmd::set_max_sig_life ( const unsigned int  max_sig_life)
inline

Sets the maximum signature life.

Parameters
max_sig_lifethe maximum signature life

References _max_sig_life.

Referenced by cmd_domain_update().

void DomainUpdateCmd::set_name ( const string &  name)
inline

Sets domain name.

Parameters
namefully qualified domain name

References _name.

Referenced by cmd_domain_update().

void DomainUpdateCmd::set_registrant ( const string &  registrant)
inline

Sets registrant.

Parameters
registrantThe domain registrant

References _registrant, and _registrant_f.

Referenced by cmd_domain_update().

void DomainUpdateCmd::set_registrant_f ( const bool  registrant_f)
inline

Sets the registrant change flag.

Parameters
registrant_fregistrant change flag

References _registrant_f.

void DomainUpdateCmd::set_rgp_restore ( const RGPRestore rgp_restore)
inline

Sets RFC3915 RGP restore structure.

Parameters
rgp_restorestructure to update RGP

References _rgp_restore.

Referenced by cmd_domain_update().

void DomainUpdateCmd::set_secDnsVersion ( string  secDnsVersion)
inline

Sets secDNS extension version.

Parameters
secDNSextension version

References _secDnsVersion.

Referenced by cmd_domain_update().

void DomainUpdateCmd::setRemoveAll ( const bool  removeAll)
inline

Sets RFC5910 alternative "remove all" attribute for domain:update.

Parameters
urgentFlagdomain:update urgent attribute value

References _removeAll.

Referenced by cmd_domain_update().

void DomainUpdateCmd::setUrgentFlag ( const bool  urgentFlag)
inline

Sets RFC4310 optional "urgent" attribute for domain:update.

Parameters
urgentFlagdomain:update urgent attribute value

References _urgentFlag.

Referenced by cmd_domain_update().

Member Data Documentation

list<unsigned int> DomainUpdateCmd::_ds_list_rem_1_0
protected

list of DS RR to be removed from the domain object (DEPRECATED, RFC 4310 only!)

Referenced by get_ds_rem(), has_secdns_extension(), insert_ds_rem(), and reset().


The documentation for this class was generated from the following file: