public function __construct($logging = false, $settingsfile = null) { parent::__construct($logging, $settingsfile); parent::setServices(array('urn:ietf:params:xml:ns:domain-1.0' => 'domain', 'urn:ietf:params:xml:ns:contact-1.0' => 'contact')); parent::enableLaunchphase('claims'); parent::enableDnssec(); }
public function __construct($logging = false, $settingsfile = null) { // Construct the EPP connection object en specify if you want logging on or off parent::__construct($logging, $settingsfile); // Enable DNSSEC, Donuts supports this parent::enableDnssec(); }
public function __construct($logging = false, $settingsfile = null) { parent::__construct($logging, $settingsfile); parent::setCheckTransactionIds(false); parent::addExtension('keysys', 'http://www.key-systems.net/epp/keysys-1.0'); parent::enableDnssec(); parent::addCommandResponse('Metaregistrar\\EPP\\rrpproxyEppUpdateDomainRequest', 'Metaregistrar\\EPP\\eppUpdateDomainResponse'); }
public function __construct($logging = false, $settingsfile = null) { parent::__construct($logging, $settingsfile); parent::setServices(array('urn:ietf:params:xml:ns:domain-1.0' => 'domain', 'urn:ietf:params:xml:ns:contact-1.0' => 'contact')); parent::addExtension('hr', 'http://www.dns.hr/epp/hr-1.0'); parent::addCommandResponse('Metaregistrar\\EPP\\hrEppInfoContactRequest', 'Metaregistrar\\EPP\\hrEppInfoContactResponse'); // parent::enableDnssec(); }
public function __construct($logging = false, $settingsfile = null) { parent::__construct($logging, $settingsfile); parent::addExtension('sidn-ext-epp', 'http://rxsd.domain-registry.nl/sidn-ext-epp-1.0'); parent::enableDnssec(); parent::addCommandResponse('Metaregistrar\\EPP\\sidnEppPollRequest', 'Metaregistrar\\EPP\\sidnEppPollResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\sidnEppCreateContactRequest', 'Metaregistrar\\EPP\\eppCreateResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\eppCheckRequest', 'Metaregistrar\\EPP\\sidnEppCheckResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\eppInfoDomainRequest', 'Metaregistrar\\EPP\\sidnEppInfoDomainResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\sidnEppRenewRequest', 'Metaregistrar\\EPP\\eppRenewResponse'); }
public function __construct($logging = false, $settingsfile = null) { // Construct the EPP connection object en specify if you want logging on or off parent::__construct($logging, $settingsfile); parent::setServices(array('urn:ietf:params:xml:ns:domain-1.0' => 'domain', 'urn:ietf:params:xml:ns:contact-1.0' => 'contact')); parent::addCommandResponse('Metaregistrar\\EPP\\ptEppInfoDomainRequest', 'Metaregistrar\\EPP\\eppInfoDomainResponse'); // Default server configuration stuff - this varies per connected registry // Check the greeting of the server to see which of these values you need to add parent::addExtension('ptcontact', 'http://eppdev.dns.pt/schemas/ptcontact-1.0'); parent::addExtension('ptdomain', 'http://eppdev.dns.pt/schemas/ptdomain-1.0'); }
public function __construct($logging = false, $settingsfile = null) { // Construct the EPP connection object en specify if you want logging on or off parent::__construct($logging, $settingsfile); // Specify timeout values in seconds // Default server configuration stuff - this varies per connected registry // Check the greeting of the server to see which of these values you need to add parent::addCommandResponse('Metaregistrar\\EPP\\eppPollRequest', 'Metaregistrar\\EPP\\metaregEppPollResponse'); parent::addExtension('polldata', 'http://www.metaregistrar.com/epp/polldata-1.0'); parent::addExtension('command-ext', 'http://www.metaregistrar.com/epp/command-ext-1.0'); parent::addExtension('ext', 'http://www.metaregistrar.com/epp/ext-1.0'); //parent::enableLaunchphase('claims'); }
public function __construct($logging = false, $settingsfile = null) { parent::__construct($logging, $settingsfile); parent::addExtension('nsgroup', 'http://www.dns.be/xml/epp/nsgroup-1.0'); parent::addExtension('registrar', 'http://www.dns.be/xml/epp/registrar-1.0'); parent::addExtension('dnsbe', 'http://www.dns.be/xml/epp/dnsbe-1.0'); parent::enableDnssec(); #parent::addExtension('keygroup','http://www.dns.be/xml/epp/keygroup-1.0'); parent::addCommandResponse('Metaregistrar\\EPP\\dnsbeEppCreateNsgroupRequest', 'Metaregistrar\\EPP\\dnsbeEppCreateNsgroupResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\dnsbeEppCreateDomainRequest', 'Metaregistrar\\EPP\\dnsbeEppCreateResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\dnsbeEppCreateContactRequest', 'Metaregistrar\\EPP\\dnsbeEppCreateResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\dnsbeEppAuthcodeRequest', 'Metaregistrar\\EPP\\eppResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\dnsbeEppInfoDomainRequest', 'Metaregistrar\\EPP\\dnsbeEppInfoDomainResponse'); }
public function __construct($logging = false, $settingsfile = null) { // Construct the EPP connection object en specify if you want logging on or off parent::__construct($logging, $settingsfile); // Specify timeout values in seconds // Enable DNSSEC, IIS.SE supports this parent::enableDnssec(); // They have registered their own extension parent::addExtension('iis', 'urn:se:iis:xml:epp:iis-1.2'); // Add the commands and responses specific to this registry // Please make sure the corresponding PHP files are present! parent::addCommandResponse('Metaregistrar\\EPP\\iisEppCreateContactRequest', 'Metaregistrar\\EPP\\eppCreateResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\eppInfoDomainRequest', 'Metaregistrar\\EPP\\iisEppInfoDomainResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\iisEppUpdateDomainClientDeleteRequest', 'Metaregistrar\\EPP\\eppUpdateResponse'); }
public function __construct($logging = false, $settingsfile = null) { parent::__construct($logging, $settingsfile); //parent::enableDnssec(); parent::setServices(array('urn:ietf:params:xml:ns:domain-1.0' => 'domain', 'urn:ietf:params:xml:ns:contact-1.0' => 'contact')); //parent::addExtension('nsgroup','http://www.eurid.eu/xml/epp/nsgroup-1.1'); parent::addService('http://www.eurid.eu/xml/epp/registrar-1.0', 'registrar'); //parent::addExtension('authInfo','http://www.eurid.eu/xml/epp/authInfo-1.0'); #parent::addCommandResponse('euridEppCreateNsgroupRequest', 'euridEppCreateNsgroupResponse'); #parent::addCommandResponse('euridEppCreateRequest', 'euridEppCreateResponse'); #parent::addCommandResponse('euridEppAuthcodeRequest', 'eppResponse'); parent::addCommandResponse('Metaregistrar/EPP/euridEppInfoDomainRequest', 'Metaregistrar/EPP/euridEppInfoDomainResponse'); #parent::addCommandResponse('euridEppCreateRequest', 'eppCreateResponse'); #parent::addCommandResponse('eppCheckRequest', 'euridEppCheckResponse'); }
public function __construct($logging = false, $settingsfile = null) { // Construct the EPP connection object en specify if you want logging on or off parent::__construct($logging, $settingsfile); // Specify timeout values in seconds, test interface is kind of slow parent::setTimeout(200); // Enable DNSSEC, Ficora supports this parent::enableDnssec(); // Make sure services are not added to the main EPP commands parent::setServices(null); // Not a real extension, but okay then parent::addExtension('ficora', 'http://www.ficora.fi/epp/ficora'); // Add the commands and responses specific to this registry // Please make sure the corresponding PHP files are present! parent::addCommandResponse('Metaregistrar\\EPP\\ficoraEppCreateContactRequest', 'Metaregistrar\\EPP\\eppCreateContactResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\ficoraEppCheckBalanceRequest', 'Metaregistrar\\EPP\\ficoraEppCheckBalanceResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\ficoraEppUpdateDomainRequest', 'Metaregistrar\\EPP\\eppUpdateDomainResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\eppInfoContactRequest', 'Metaregistrar\\EPP\\ficoraEppInfoContactResponse'); }
public function __construct($logging = false, $settingsfile = null) { // Construct the EPP connection object en specify if you want logging on or off parent::__construct($logging, $settingsfile); // Default server configuration stuff - this varies per connected registry // Check the greeting of the server to see which of these values you need to add parent::addCommandResponse('Metaregistrar\\EPP\\eppPollRequest', 'Metaregistrar\\EPP\\metaregEppPollResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\metaregSudoRequest', 'Metaregistrar\\EPP\\metaregSudoResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\metaregInfoDomainRequest', 'Metaregistrar\\EPP\\eppInfoDomainResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\metaregEppAuthcodeRequest', 'Metaregistrar\\EPP\\eppInfoDomainResponse'); parent::addCommandResponse('Metaregistrar\\EPP\\metaregEppTransferExtendedRequest', 'Metaregistrar\\EPP\\eppTransferResponse'); parent::addExtension('polldata', 'http://www.metaregistrar.com/epp/polldata-1.0'); parent::addExtension('command-ext', 'http://www.metaregistrar.com/epp/command-ext-1.0'); parent::addExtension('command-ext-domain', 'http://www.metaregistrar.com/epp/command-ext-domain-1.0'); parent::addExtension('ext', 'http://www.metaregistrar.com/epp/ext-1.0'); $this->enableDnssec(); $this->enableRgp(); //parent::enableLaunchphase('claims'); }
/** * Connect to the address and port fsockopen replaces by general stream_socket_client * @param string $address * @param int $port * @return boolean */ public function connect($hostname = null, $port = null) { if ($hostname) { $this->hostname = $hostname; } if ($port) { $this->port = $port; } if ($this->local_cert_path) { parent::connect($hostname, $port); } else { //We don't want our error handler to kick in at this point... $target = $this->hostname . ":" . $this->port; $errno = ''; $errstr = ''; putenv('SURPRESS_ERROR_HANDLER=1'); $context = stream_context_create(); if (!$this->doPeerVerification) { stream_context_set_option($context, 'ssl', 'verify_peer', false); stream_context_set_option($context, 'ssl', 'verify_peer_name', false); } $this->connection = stream_socket_client($target, $errno, $errstr, $this->timeout, STREAM_CLIENT_CONNECT, $context); putenv('SURPRESS_ERROR_HANDLER=0'); if (is_resource($this->connection)) { $this->writeLog("Connection made", "CONNECT"); stream_set_blocking($this->connection, false); stream_set_timeout($this->connection, $this->timeout); if ($errno == 0) { $this->connected = true; $this->read(); return true; } else { return false; } } else { $this->writeLog("Connection could not be opened: {$errno} {$errstr}", "ERROR"); return false; } } return false; }
/** * metaregSudoResponse constructor. * * @param metaregSudoRequest $originalrequest */ function __construct(metaregSudoRequest $originalrequest) { parent::__construct($originalrequest); $tmpConn = new eppConnection(); $this->originalResponse = $tmpConn->createResponse($originalrequest->getOriginalRequest()); }