EPP DomainUpdateCmd Class. More...
#include <DomainUpdateCmd.H>
Classes | |
struct | Status |
Public Member Functions | |
DomainUpdateCmd (bool reset=true) | |
Default constructor. | |
void | set_name (const string &name) |
Sets domain name. | |
string | get_name () const |
Returns domain name. | |
void | insert_nameserver_add (const struct NameServer &nameserver_add) |
Inserts a nameserver_add to the list of nameservers. | |
vector< struct NameServer > | get_nameserver_add () const |
Returns a list of nameserver_add. | |
void | insert_nameserver_rem (const struct NameServer &nameserver_rem) |
Inserts a nameserver_rem to the list of nameservers. | |
vector< struct NameServer > | get_nameserver_rem () const |
Returns a list of nameserver_rem. | |
void | insert_contact_add (const string &type, const string &identification) |
Inserts a contact_add in the map of contacts. | |
map< string, string, less < string > > | get_contact_add () const |
Returns map of contacts. | |
void | insert_contact_rem (const string &type, const string &identification) |
Inserts a contact_rem in the map of contacts. | |
map< string, string, less < string > > | get_contact_rem () const |
Returns map of contacts. | |
void | insert_status_add (const struct Status &status_add) |
Changes a status_add. | |
set< struct Status > | get_status_add () const |
Returns set of domain status_add. | |
void | insert_status_rem (const struct Status &status_rem) |
Changes a status_rem in _status_rem. | |
set< struct Status > | get_status_rem () const |
Returns set of domain status_rem. | |
void | set_registrant (const string ®istrant) |
Sets registrant. | |
string | get_registrant () const |
Returns registrant. | |
void | set_registrant_f (const bool registrant_f) |
Sets the registrant change flag. | |
bool | get_registrant_f () const |
Returns the registrant change flag. | |
void | set_authInfo (const AuthInfo &authInfo) |
Sets authorization information. | |
AuthInfo | get_authInfo () const |
Returns authorization information. | |
void | set_secDnsVersion (string secDnsVersion) |
Sets secDNS extension version. | |
string | get_secDnsVersion () const |
Returns secDNS extension version. | |
void | set_max_sig_life (const unsigned int max_sig_life) |
Sets the maximum signature life. | |
unsigned int | get_max_sig_life () const |
Returns the maximum signature life. | |
void | insert_dnskey_add (const KeyData &keydata) |
Inserts one DNSKEY into the DNSKEY addition list. | |
list< KeyData > | get_dnskey_add () const |
Returns the DNSKEY addition list. | |
void | insert_dnskey_rem (const KeyData &keydata) |
Inserts one DNSKEY into the DNSKEY removal list. | |
list< KeyData > | get_dnskey_rem () const |
Returns the DNSKEY removal list. | |
void | insert_ds_add (const DSInfo &ds_info) |
Inserts one ds into the ds addition list. | |
list< DSInfo > | get_ds_add () const |
Returns the ds addition list. | |
void | insert_ds_rem_1_1 (const DSInfo &ds_info) |
Inserts one ds into the ds removal list. | |
void | insert_ds_rem (const unsigned int &keyTag) |
Inserts one ds into the ds removal list (RFC4310 - DEPRECATED!). | |
list< DSInfo > | get_ds_rem_1_1 () const |
Returns the ds removal list. | |
list< unsigned int > | get_ds_rem () const |
Returns the ds removal list (RFC4310 - DEPRECATED!). | |
void | insert_ds_chg (const DSInfo &ds_info) |
Inserts one ds into the ds change list. | |
list< DSInfo > | get_ds_chg () const |
Returns the ds change list. | |
void | setUrgentFlag (const bool urgentFlag) |
Sets RFC4310 optional "urgent" attribute for domain:update. | |
bool | isUrgent () const |
Getter for RFC4310 optional "urgent" attribute for domain:update. | |
void | setRemoveAll (const bool removeAll) |
Sets RFC5910 alternative "remove all" attribute for domain:update. | |
bool | getRemoveAll () const |
Getter for RFC5910 alternative "remove all" attribute for domain:update. | |
bool | has_extension () const |
Check if there is any extension. | |
bool | has_secdns_extension () const |
Check if there is secDNS extension. | |
void | reset () |
Reset object attributes. | |
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 |
EPP DomainUpdateCmd Class.
AuthInfo DomainUpdateCmd::get_authInfo | ( | ) | const [inline] |
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.
References _contact_add.
Referenced by cmd_domain_update().
map< string, string, less<string> > DomainUpdateCmd::get_contact_rem | ( | ) | const [inline] |
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.
References _dnskey_list_add.
list<KeyData> DomainUpdateCmd::get_dnskey_rem | ( | ) | const [inline] |
Returns the DNSKEY removal list.
References _dnskey_list_rem.
list<DSInfo> DomainUpdateCmd::get_ds_add | ( | ) | const [inline] |
Returns the ds addition list.
References _ds_list_add.
list<DSInfo> DomainUpdateCmd::get_ds_chg | ( | ) | const [inline] |
Returns the ds change list.
References _ds_list_chg.
list<unsigned int> DomainUpdateCmd::get_ds_rem | ( | ) | const [inline] |
Returns the ds removal list (RFC4310 - DEPRECATED!).
References _ds_list_rem_1_0.
list<DSInfo> DomainUpdateCmd::get_ds_rem_1_1 | ( | ) | const [inline] |
Returns the ds removal list.
References _ds_list_rem.
unsigned int DomainUpdateCmd::get_max_sig_life | ( | ) | const [inline] |
string DomainUpdateCmd::get_name | ( | ) | const [inline] |
Returns domain name.
References _name.
Referenced by cmd_domain_update().
vector<struct NameServer> DomainUpdateCmd::get_nameserver_add | ( | ) | const [inline] |
Returns a list of nameserver_add.
References _nameserver_add.
Referenced by cmd_domain_update().
vector<struct NameServer> DomainUpdateCmd::get_nameserver_rem | ( | ) | const [inline] |
Returns a list of nameserver_rem.
References _nameserver_rem.
Referenced by cmd_domain_update().
string DomainUpdateCmd::get_registrant | ( | ) | const [inline] |
Returns registrant.
References _registrant.
Referenced by cmd_domain_update().
bool DomainUpdateCmd::get_registrant_f | ( | ) | const [inline] |
string DomainUpdateCmd::get_secDnsVersion | ( | ) | const [inline] |
set<struct Status> DomainUpdateCmd::get_status_add | ( | ) | const [inline] |
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.
References _status_rem.
Referenced by cmd_domain_update().
bool DomainUpdateCmd::getRemoveAll | ( | ) | const [inline] |
Getter for 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.
type_add | contact type | |
identification_add | contact 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.
type_rem | contact type | |
identification_rem | contact 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.
keydata | DNSKEY 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.
key_tag | key 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.
ds_info | ds 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.
ds_info | ds 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!).
key_tag | key 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.
key_tag | DS 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.
nameserver_add | fully 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.
nameserver_rem | fully 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.
status_add | status 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.
status_rem | the 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.
References _urgentFlag.
void DomainUpdateCmd::set_authInfo | ( | const AuthInfo & | authInfo | ) | [inline] |
Sets authorization information.
authInfo | domain authorization information |
References _authInfo.
Referenced by cmd_domain_update().
void DomainUpdateCmd::set_max_sig_life | ( | const unsigned int | max_sig_life | ) | [inline] |
Sets the maximum signature life.
max_sig_life | the maximum signature life |
References _max_sig_life.
Referenced by cmd_domain_update().
void DomainUpdateCmd::set_name | ( | const string & | name | ) | [inline] |
Sets domain name.
name | fully qualified domain name |
References _name.
Referenced by cmd_domain_update().
void DomainUpdateCmd::set_registrant | ( | const string & | registrant | ) | [inline] |
Sets registrant.
registrant | The 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.
registrant_f | registrant change flag |
References _registrant_f.
void DomainUpdateCmd::set_secDnsVersion | ( | string | secDnsVersion | ) | [inline] |
Sets secDNS extension version.
secDNS | extension version |
References _secDnsVersion.
Referenced by cmd_domain_update().
void DomainUpdateCmd::setRemoveAll | ( | const bool | removeAll | ) | [inline] |
Sets RFC5910 alternative "remove all" attribute for domain:update.
urgentFlag | domain: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.
urgentFlag | domain:update urgent attribute value |
References _urgentFlag.
Referenced by cmd_domain_update().
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().