| 1 | ## Domain Registry Interface, SIDN (.NL) EPP extensions | ||
| 2 | ## | ||
| 3 | ## Copyright (c) 2009-2012,2014,2018 Patrick Mevzek <netdri@dotandco.com>. All rights reserved. | ||
| 4 | ## | ||
| 5 | ## This file is part of Net::DRI | ||
| 6 | ## | ||
| 7 | ## Net::DRI is free software; you can redistribute it and/or modify | ||
| 8 | ## it under the terms of the GNU General Public License as published by | ||
| 9 | ## the Free Software Foundation; either version 2 of the License, or | ||
| 10 | ## (at your option) any later version. | ||
| 11 | ## | ||
| 12 | ## See the LICENSE file that comes with this distribution for more details. | ||
| 13 | #################################################################################################### | ||
| 14 | |||
| 15 | package Net::DRI::Protocol::EPP::Extensions::SIDN; | ||
| 16 | |||
| 17 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 2 | ▶ | use base qw/Net::DRI::Protocol::EPP/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | use Net::DRI::Util; | ||
| 23 | use Net::DRI::Data::Contact::SIDN; | ||
| 24 | |||
| 25 | #################################################################################################### | ||
| 26 | |||
| 27 | sub setup | ||
| 28 | { | ||
| 29 | my ($self,$rp)=@_; | ||
| 30 | $self->ns({sidn => 'http://rxsd.domain-registry.nl/sidn-ext-epp-1.0'}); | ||
| 31 | $self->capabilities('domain_update','status',undef); ## No changes in status possible | ||
| 32 | $self->capabilities('contact_update','status',undef); | ||
| 33 | $self->capabilities('contact_update','disclose',undef); | ||
| 34 | $self->capabilities('host_update','status',undef); | ||
| 35 | $self->capabilities('host_update','name',undef); | ||
| 36 | $self->factories('contact',sub { return Net::DRI::Data::Contact::SIDN->new(); }); | ||
| 37 | $self->default_parameters({domain_create => { auth => { pw => '' } } }); ## authInfo not used by SIDN | ||
| 38 | return; | ||
| 39 | } | ||
| 40 | |||
| 41 | sub core_contact_types { return ('admin','tech'); } ## No billing contact in .NL | ||
| 42 | sub default_extensions { return qw/SIDN::Message SIDN::Domain SIDN::Contact SIDN::Host SIDN::Notifications SecDNS KeyRelay/; } | ||
| 43 | |||
| 44 | #################################################################################################### | ||
| 45 | 1; | ||
| 46 | |||
| 47 | __END__ | ||