Package com.verisign.epp.codec.registry
Class EPPRegistryDNSSEC
java.lang.Object
com.verisign.epp.codec.registry.EPPRegistryDNSSEC
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Defines the DNS Security Extensions (DNSSEC) policies for the server. The
<registry:dnssec> element contains the following child elements:
-
<registry:dsDataInterface> - defines the DS Data Interface, as defined
in RFC 5910, policies. Use
getDs()andsetDs(EPPRegistryDS)to get and set this element. -
<registry:keyDataInterface> - defines the Key Data Interface, as
defined in RFC 5910, policies. Use
getKey()andsetKey(EPPRegistryKey)to get and set this element. -
<registry:maxSigLife> - defines the maximum signature life policies.
Use
getMaxSigLife()andsetMaxSigLife(EPPRegistryMaxSig)to get and set this element. -
<registry:urgent> - whether the client can specify the urgent attribute
for DNSSEC updates with a default value of
false.. UsegetUrgent()andsetUrgent(Boolean)to get and set this element.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRegistryDNSSEC.voidDecode theEPPRegistryDNSSECattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPRegistryDNSSECinstance.booleanimplements a deepEPPRegistryDNSSECcompare.getDs()Get DS Data interface attributes.getKey()Get Key Data interface attributes.Get max signature life policy.Returns the XML namespace associated with theEPPCodecComponent.Get the urgent flag.voidsetDs(EPPRegistryDS ds) Set DS Data interface attributes.voidsetKey(EPPRegistryKey key) Set Key Data interface attributes.voidsetMaxSigLife(EPPRegistryMaxSig maxSigLife) Set max signature life policy.voidSet the urgent flag.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_NAME
XML Element Name ofEPPRegistryDNSSECroot element.- See Also:
-
ELM_URGENT
XML tag name for theurgentattribute.- See Also:
-
-
Constructor Details
-
EPPRegistryDNSSEC
public EPPRegistryDNSSEC()
-
-
Method Details
-
encode
Encode a DOM Element tree from the attributes of theEPPRegistryDNSSECinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryDNSSECinstance. - Throws:
EPPEncodeException- - Unable to encodeEPPRegistryDNSSECinstance.
-
decode
Decode theEPPRegistryDNSSECattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPRegistryDNSSECfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPRegistryDNSSEC.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRegistryDNSSEC - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
implements a deepEPPRegistryDNSSECcompare. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getDs
Get DS Data interface attributes.- Returns:
- instance of
EPPRegistryDS
-
setDs
Set DS Data interface attributes.- Parameters:
ds- instance ofEPPRegistryDS
-
getKey
Get Key Data interface attributes.- Returns:
- instance of
EPPRegistryKey
-
setKey
Set Key Data interface attributes.- Parameters:
key- instance ofEPPRegistryKey
-
getMaxSigLife
Get max signature life policy.- Returns:
- instance of
EPPRegistryMaxSig
-
setMaxSigLife
Set max signature life policy.- Parameters:
maxSigLife- instance ofEPPRegistryMaxSig
-
getUrgent
Get the urgent flag.- Returns:
trueif the client can specify the urgent attribute for DNSSEC updates.falseif the client CANNOT specify the urgent attribute for DNSSEC updates.
-
setUrgent
Set the urgent flag.- Parameters:
urgent-trueif the client can specify the urgent attribute for DNSSEC updates.falseif the client CANNOT specify the urgent attribute for DNSSEC updates.
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-