libepp_nicbr
|
shepp specific objects information setting class More...
#include <SheppObjSet.H>
Static Public Member Functions | |
static int | parse_iprange (const string &input, IpRange &ipRange) |
reads an IpRange object from args More... | |
static int | authInfo (AuthInfo &auth, vector< string > &words) |
fills an AuthInfo based on input command line More... | |
static int | nameServer (NameServer &ns, vector< string > &words) |
fills a NameServer based on input command line More... | |
static int | status (DomainUpdateCmd::Status &st, vector< string > &words) |
fills a Status based on input command line More... | |
static int | status (DefRegUpdateCmd::Status &st, vector< string > &words) |
fills a Status based on input command line More... | |
static int | dsInfo (DSInfo &ds, vector< string > &words, string &error_msg) |
fills a DSInfo based on input command line More... | |
static int | dsInfo (ReverseDSInfo &ds, vector< string > &words, string &error_msg) |
fills a ReverseDSInfo based on input command line More... | |
static int | keyData (KeyData &dnskey, vector< string > &words, string &error_msg) |
fills a KeyData based on input command line More... | |
static int | postalInfo (PostalInfo &postal, vector< string > &words, string &error_msg, bool relaxed) |
fills a PostalInfo based on input command line More... | |
static int | phone (CommonData::Phone &phone, vector< string > &words) |
fills a Phone based on input command line More... | |
static int | disclose (CommonData::Disclose &disclose, string word) |
fills a Disclose based on input command line More... | |
static int | contacts (map< string, string, less< string > > &contacts, string args, string &error_msg) |
fills a map of contacts based on input command line More... | |
static int | claimsNotice (ClaimsNotice ¬ice, vector< string > &words, string &error) |
Fill a claims notice object. More... | |
static int | rgpRestore (vector< string > &words, RGPRestore &rgp_restore, string &error_msg) |
fill a registry grace period structure More... | |
shepp specific objects information setting class
|
inlinestatic |
fills an AuthInfo based on input command line
auth | reference to an AuthInfo object to be set |
words | vector with command-line arguments |
References AuthInfo::set_pw(), AuthInfo::set_roid(), and SheppStrUtil::split().
Referenced by cmd_brorg_create(), cmd_brorg_info(), cmd_brorg_update(), cmd_contact_create(), cmd_contact_info(), cmd_contact_transfer(), cmd_contact_update(), cmd_def_reg_create(), cmd_def_reg_info(), cmd_def_reg_transfer(), cmd_def_reg_update(), cmd_domain_create(), cmd_domain_info(), cmd_domain_transfer(), and cmd_domain_update().
|
inlinestatic |
Fill a claims notice object.
notice | Object to be filled |
words | parameters |
errorMsg | Error message, if any |
References ClaimsNotice::set_acceptedDate(), ClaimsNotice::set_id(), and ClaimsNotice::set_notAfter().
Referenced by cmd_domain_create().
|
inlinestatic |
fills a map of contacts based on input command line
contacts | reference to the map of contacts to be filled |
args | input string with contacts info |
error_msg | string to hold error msg on return -1 |
References SheppStrUtil::split().
Referenced by cmd_brorg_create(), and cmd_brorg_update().
|
inlinestatic |
fills a Disclose based on input command line
disclose | reference to a Disclose object to be set |
word | input string with disclose info |
References SheppStrUtil::split().
Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().
|
inlinestatic |
fills a DSInfo based on input command line
ds | reference to a DSInfo object to be set |
words | vector with command-line arguments |
References keyData(), DSInfo::set_algo(), DSInfo::set_digest(), DSInfo::set_digest_type(), DSInfo::set_key_data(), DSInfo::set_key_tag(), and DSInfo::set_max_sig_life().
Referenced by cmd_domain_create(), cmd_domain_update(), cmd_ipnetwork_create(), and cmd_ipnetwork_update().
|
inlinestatic |
fills a ReverseDSInfo based on input command line
ds | reference to a ReverseDSInfo object to be set |
words | vector with command-line arguments |
References parse_iprange(), ReverseDSInfo::set_algo(), ReverseDSInfo::set_digest(), ReverseDSInfo::set_digest_type(), ReverseDSInfo::set_ipRange(), and ReverseDSInfo::set_key_tag().
|
inlinestatic |
fills a KeyData based on input command line
dnskey | reference to a KeyData object to be set |
words | vector with command-line arguments |
Referenced by cmd_domain_create(), cmd_domain_update(), and dsInfo().
|
inlinestatic |
fills a NameServer based on input command line
ns | reference to a NameServer object to be set |
words | vector with command-line arguments |
References SheppStrUtil::split().
Referenced by cmd_domain_create(), and cmd_domain_update().
|
inlinestatic |
reads an IpRange object from args
input | IP range command-line param |
ipRange | IpRange object to be filled |
References SheppStrUtil::split().
Referenced by cmd_ipnetwork_check(), cmd_ipnetwork_create(), cmd_ipnetwork_info(), cmd_ipnetwork_update(), and dsInfo().
|
inlinestatic |
fills a Phone based on input command line
phone | reference to a Phone object to be set |
words | vector with command-line arguments |
References SheppStrUtil::split().
Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().
|
inlinestatic |
fills a PostalInfo based on input command line
postal | reference to a PostalInfo object to be set |
words | vector with command-line arguments |
error_msg | string to hold error msg on return -1 |
relaxed | true for update, false for create |
References SheppStrUtil::quote_gathering().
Referenced by cmd_brorg_create(), cmd_brorg_update(), cmd_contact_create(), and cmd_contact_update().
|
inlinestatic |
fill a registry grace period structure
words | RGP command-line params |
rgp_restore | RGP object to be filled |
error_msg | When the funciton returns -1, the error will be stored here |
References RGPRestore::get_operation(), RGPRestore::get_report(), SheppStrUtil::quote_gathering(), RGPReport::set_del_time(), RGPRestore::set_operation(), RGPReport::set_other(), RGPReport::set_post_data(), RGPReport::set_pre_data(), RGPRestore::set_report(), RGPReport::set_res_reason(), RGPReport::set_res_time(), RGPReport::set_statement1(), and RGPReport::set_statement2().
Referenced by cmd_domain_update().
|
inlinestatic |
fills a Status based on input command line
status | reference to a Status object to be set |
words | vector with command-line arguments |
References SheppStrUtil::quote_gathering(), and SheppStrUtil::split().
Referenced by cmd_def_reg_update(), cmd_domain_update(), and status().
|
inlinestatic |
fills a Status based on input command line
status | reference to a Status object to be set |
words | vector with command-line arguments |
References SheppStrUtil::quote_gathering(), DefRegUpdateCmd::Status::set_lang(), DefRegUpdateCmd::Status::set_msg(), DefRegUpdateCmd::Status::set_status(), SheppStrUtil::split(), and status().