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.String
ELM_LOCALNAME
Constant for theEPPRegistryDNSSEC
local namestatic java.lang.String
ELM_NAME
Constant for theEPPRegistryDNSSEC
(prefix and local name)static java.lang.String
ELM_URGENT
XML tag name for theurgent
attribute.
-
Constructor Summary
Constructors Constructor Description EPPRegistryDNSSEC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPRegistryDNSSEC
.void
decode(org.w3c.dom.Element aElement)
Decode theEPPRegistryDNSSEC
attributes from the aElement DOM Element tree.org.w3c.dom.Element
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of theEPPRegistryDNSSEC
instance.boolean
equals(java.lang.Object aObject)
implements a deepEPPRegistryDNSSEC
compare.EPPRegistryDS
getDs()
Gets DS Data interface attributes.EPPRegistryKey
getKey()
Gets Key Data interface attributes.EPPRegistryMaxSig
getMaxSigLife()
Gets max signature life policy.java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.java.lang.Boolean
getUrgent()
Gets the urgent flag.void
setDs(EPPRegistryDS aDs)
Sets DS Data interface attributes.void
setKey(EPPRegistryKey aKey)
Sets Key Data interface attributes.void
setMaxSigLife(EPPRegistryMaxSig aMaxSigLife)
Sets max signature life policy.void
setUrgent(java.lang.Boolean aUrgent)
Sets the urgent flag.java.lang.String
toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for theEPPRegistryDNSSEC
local 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 theurgent
attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPRegistryDNSSEC
instance.- Specified by:
encode
in interfaceEPPCodecComponent
- Parameters:
aDocument
- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryDNSSEC
instance. - Throws:
EPPEncodeException
- - Unable to encodeEPPRegistryDNSSEC
instance.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPRegistryDNSSEC
attributes from the aElement DOM Element tree.- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- Root DOM Element to decodeEPPRegistryDNSSEC
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPRegistryDNSSEC
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in 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 deepEPPRegistryDNSSEC
compare.- Overrides:
equals
in classjava.lang.Object
- Parameters:
aObject
-EPPRegistryDNSSEC
instance to compare with- Returns:
true
if this object is the same as the aObject argument;false
otherwise
-
toString
public java.lang.String toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
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:
true
if the client can specify the urgent attribute for DNSSEC updates.false
if the client CANNOT specify the urgent attribute for DNSSEC updates.
-
setUrgent
public void setUrgent(java.lang.Boolean aUrgent)
Sets the urgent flag.- Parameters:
aUrgent
-true
if the client can specify the urgent attribute for DNSSEC updates.false
if 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:
getNamespace
in interfaceEPPCodecComponent
- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-