Class EPPRegistryDNSSEC
java.lang.Object
com.verisign.epp.codec.registry.v02.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()Gets DS Data interface attributes.getKey()Gets Key Data interface attributes.Gets max signature life policy.Returns the XML namespace associated with theEPPCodecComponent.Gets the urgent flag.voidsetDs(EPPRegistryDS aDs) Sets DS Data interface attributes.voidsetKey(EPPRegistryKey aKey) Sets Key Data interface attributes.voidsetMaxSigLife(EPPRegistryMaxSig aMaxSigLife) Sets max signature life policy.voidSets the urgent flag.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
Constant for theEPPRegistryDNSSEClocal name- See Also:
-
ELM_NAME
Constant for theEPPRegistryDNSSEC(prefix and local name)- 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
Gets DS Data interface attributes.- Returns:
- instance of
EPPRegistryDS
-
setDs
Sets DS Data interface attributes.- Parameters:
aDs- instance ofEPPRegistryDS
-
getKey
Gets Key Data interface attributes.- Returns:
- instance of
EPPRegistryKey
-
setKey
Sets Key Data interface attributes.- Parameters:
aKey- instance ofEPPRegistryKey
-
getMaxSigLife
Gets max signature life policy.- Returns:
- instance of
EPPRegistryMaxSig
-
setMaxSigLife
Sets max signature life policy.- Parameters:
aMaxSigLife- instance ofEPPRegistryMaxSig
-
getUrgent
Gets 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
Sets the urgent flag.- Parameters:
aUrgent-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.
-