|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.ext.EppSecDnsDsData
public class EppSecDnsDsData
This EppSecDnsDsData class implements DS data specified in the
EPP DNS Security extension, defined by IETF Draft:
draft-hollenbeck-epp-secdns-04.txt, with the following modifications:
| Constructor Summary | |
|---|---|
EppSecDnsDsData()
Creates an EppSecDnsDsData object |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppSecDnsDsData object. |
int |
getAlgorithm()
Gets the algorithm value |
java.lang.String |
getDigest()
Gets the digest value |
int |
getDigestType()
Gets the digest type |
java.util.Calendar |
getEndDate()
Gets the optional end date for using the DS data |
int |
getKeyTag()
Gets the key tag value |
java.util.Calendar |
getStartDate()
Gets the optional start date for using the DS data |
java.lang.String |
getValidationInterval()
Gets the optional validation interval, must be in XML duration format |
void |
setAlgorithm(int alg)
Sets the algorithm value |
void |
setDigest(byte[] digestBytes)
Sets the digest value, given a byte array |
boolean |
setDigestString(java.lang.String digestString)
Sets the digest value, if the digest string is a valid hex binary string |
void |
setDigestType(int digestType)
Sets the digest type |
void |
setEndDate(java.util.Calendar eDate)
Sets the optional end date for using the DS data |
void |
setKeyTag(int keyTag)
Sets the key tag value |
void |
setStartDate(java.util.Calendar sDate)
Sets the optional start date for using the DS data |
void |
setValidationInterval(java.lang.String vInterval)
Sets the optional validation interval, in the XML duration format |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppSecDnsDsData object into an XML element |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EppSecDnsDsData()
EppSecDnsDsData object
| Method Detail |
|---|
public int getKeyTag()
public void setKeyTag(int keyTag)
public int getAlgorithm()
public void setAlgorithm(int alg)
public int getDigestType()
public void setDigestType(int digestType)
public java.lang.String getDigest()
public void setDigest(byte[] digestBytes)
public boolean setDigestString(java.lang.String digestString)
public java.util.Calendar getStartDate()
public void setStartDate(java.util.Calendar sDate)
public java.util.Calendar getEndDate()
public void setEndDate(java.util.Calendar eDate)
public java.lang.String getValidationInterval()
public void setValidationInterval(java.lang.String vInterval)
public static EppEntity fromXML(org.w3c.dom.Node root)
EppSecDnsDsData object.
The caller of this method must make sure that the root node is of
EPP SECDNS dsDataType
root - root node for an EppSecDnsDsData object in XML format
EppSecDnsDsData object, or null if the node is invalid
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppSecDnsDsData object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppSecDnsDsData object
Element objectpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||