Renew command
An enum registration can be renewed in two ways:
- Use of the <enum:renew> command
- Use of the <enum:update> command with the "renew" attribute set to "Y".
A signed VA token is required which is valid for the registration period being applied for. Upon renewal, the expiry period for the domain name is moved on to one of the following, whichever is soonest:
- The expiry date of the token provided
- The current expiry date of the registration plus the renewal period applied for.
<enum:renew> element
The <enum:renew> element contains the following sub-elements:
- An <E164Number> or <token> element identifying the registration to be renewed.
- An optional period field. This must be for 1y or 12m.
<enum:renData> element
The <enum:renData> element provided on a successful response contains the following sub-elements:
- An <enum:E164Number> element giving the first element in the ENUM renewed.
- An <enum:lastE164Number> element giving the last element in the ENUM renewed.
- An <enum:exDate> element giving the new expiry date for the ENUM registration.
Examples
Example of an enum renew command
The token element provided within this example is illustrative only. A complete token is provided
here.
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<renew>
<enum:renew
xmlns:enum="http://www.nominet.org.uk/epp/xml/nom-enum-2.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-enum-2.0
nom-enum-2.0.xsd">
<token
xmlns="urn:ietf:params:xml:ns:enum-token-1.0" Id="TOKEN"
xsi:schemaLocation= "urn:ietf:params:xml:ns:enum-token-1.0
enum-token-1.0.xsd">
<validation serial="acmeve-000001">
<E164Number>+442079460123</E164Number>
<validationEntityID>ACME-VE</validationEntityID>
<registrarID>EXAMPLE-TAG</registrarID>
<methodID>42</methodID>
<executionDate>2007-05-08</executionDate>
</validation>
<tokendata
xmlns="urn:ietf:params:xml:ns:enum-tokendata-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:enum-tokendata-1.0
enum-tokendata-1.0.xsd">
<contact>
<organisation>Example Inc.</organisation>
<commercialregisternumber>4711</commercialregisternumber>
<title>Dr.</title>
<firstname>Max</firstname>
<lastname>Mustermann</lastname>
<address>
<streetName>Main</streetName>
<houseNumber>10</houseNumber>
<postalCode>1010</postalCode>
<locality>London</locality>
<countyStateOrProvince>London</countyStateOrProvince>
<ISOcountryCode>GB</ISOcountryCode>
</address>
</contact>
</tokendata>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod
Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<Reference URI="#TOKEN">
<Transforms>
<Transform Algorithm=
"http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces
xmlns="http://www.w3.org/2001/10/xml-exc-c14n#"
PrefixList="enum-token enum-tokendata"/>
</Transform>
</Transforms>
<DigestMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<DigestValue
>VxqsBxSNPFwPAUlCHts3g3DehcexnB1dqUz+GypLZ0k=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>
QKqphKRNPokVZFbenje+HZZV+RLrNweGnlWBw7ngAtH+rtuslR8LhMLmC4DlBb9V
HvKItl+7zLGm3VgYsqfHH8q3jCl1mFxUIuLlIPqtpJs+xAHAJDzZ+vmsF/q2IgrS
K0uMmKuU5V1gydDBOvIipcJx+PrPYyXYZSjQXkWknK8=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>
MIIDZjCCAs+gAwIBAgIBBDANBgkqhkiG9w0BAQQFADB0MQswCQYDVQQGEwJBVDEP
MA0GA1UEBxMGVmllbm5hMRQwEgYDVQQKEwtCT0ZIIENlcnRzLjEbMBkGA1UEAxMS
Q0VSVFMuYm9maC5wcml2LmF0MSEwHwYJKoZIhvcNAQkBFhJjZXJ0c0Bib2ZoLnBy
aXYuYXQwHhcNMDQwNzIwMTMxNTA5WhcNMDUwNzIwMTMxNTA5WjB/MQswCQYDVQQG
EwJBVDEKMAgGA1UECBMBLTEPMA0GA1UEBxMGVmllbm5hMR0wGwYDVQQKExRBY21l
IEVOVU0gVmFsaWRhdGlvbjEQMA4GA1UEAxMHYWNtZS1WRTEiMCAGCSqGSIb3DQEJ
ARYTbm9ib2R5QGVudW0tYWNtZS5hdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
P2iAJkJVC4t2XA==
</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</token>
<enum:period unit="y">1</enum:period>
</enum:renew>
</renew>
</command>
</epp>
Example successful enum renew response
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<enum:renData
xmlns:enum="http://www.nominet.org.uk/epp/xml/nom-enum-2.0"
xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-enum-2.0
nom-enum-2.0.xsd">
<enum:E164Number>+441865332111</enum:E164Number>
<enum:lastE164Number>+441865332111</enum:lastE164Number>
<enum:exDate>2009-09-18T12:34:00Z</enum:exDate>
</enum:renData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>10654896</svTRID>
</trID>
</response>
</epp>