Class EPPRegistryDNSSEC
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryDNSSEC
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRegistryDNSSEC extends java.lang.Object implements EPPCodecComponent
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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEConstant for theEPPRegistryDNSSEClocal namestatic java.lang.StringELM_NAMEConstant for theEPPRegistryDNSSEC(prefix and local name)static java.lang.StringELM_URGENTXML tag name for theurgentattribute.
-
Constructor Summary
Constructors Constructor Description EPPRegistryDNSSEC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPRegistryDNSSEC.voiddecode(org.w3c.dom.Element aElement)Decode theEPPRegistryDNSSECattributes from the aElement DOM Element tree.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPRegistryDNSSECinstance.booleanequals(java.lang.Object aObject)implements a deepEPPRegistryDNSSECcompare.EPPRegistryDSgetDs()Gets DS Data interface attributes.EPPRegistryKeygetKey()Gets Key Data interface attributes.EPPRegistryMaxSiggetMaxSigLife()Gets max signature life policy.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.java.lang.BooleangetUrgent()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.voidsetUrgent(java.lang.Boolean aUrgent)Sets the urgent flag.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for theEPPRegistryDNSSEClocal name- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
Constant for theEPPRegistryDNSSEC(prefix and local name)- See Also:
- Constant Field Values
-
ELM_URGENT
public static final java.lang.String ELM_URGENT
XML tag name for theurgentattribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode 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
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPRegistryDNSSEC.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPRegistryDNSSEC - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPRegistryDNSSECcompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPRegistryDNSSECinstance to compare with- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
getDs
public EPPRegistryDS getDs()
Gets DS Data interface attributes.- Returns:
- instance of
EPPRegistryDS
-
setDs
public void setDs(EPPRegistryDS aDs)
Sets DS Data interface attributes.- Parameters:
aDs- instance ofEPPRegistryDS
-
getKey
public EPPRegistryKey getKey()
Gets Key Data interface attributes.- Returns:
- instance of
EPPRegistryKey
-
setKey
public void setKey(EPPRegistryKey aKey)
Sets Key Data interface attributes.- Parameters:
aKey- instance ofEPPRegistryKey
-
getMaxSigLife
public EPPRegistryMaxSig getMaxSigLife()
Gets max signature life policy.- Returns:
- instance of
EPPRegistryMaxSig
-
setMaxSigLife
public void setMaxSigLife(EPPRegistryMaxSig aMaxSigLife)
Sets max signature life policy.- Parameters:
aMaxSigLife- instance ofEPPRegistryMaxSig
-
getUrgent
public java.lang.Boolean 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
public void setUrgent(java.lang.Boolean aUrgent)
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
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-