# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

- Deprecated Classes
  Class and Description
  com.verisign.epp.codec.contact.EPPContactDiscloseAddress Use the `addrInt` and `addrLoc` attributes defined in `EPPContactDisclose`.
  com.verisign.epp.codec.contact.EPPContactDiscloseName Use the `nameInt` and `nameLoc` attributes defined in `EPPContactDisclose`.
  com.verisign.epp.codec.contact.EPPContactDiscloseOrg Use the `orgInt` and `orgLoc` attributes defined in `EPPContactDisclose`.
  com.verisign.epp.namestore.interfaces.NSSubProduct Use the a-label TLD for the subProductID, except for use of "dotCC" for CC, "dotTV" for TV, and "dotJOBS" for JOBS.

- Deprecated Fields
  Field and Description
  com.verisign.epp.codec.contact.EPPContactDisclose.ATTR_FLAG_FALSE Flag should not be get or set via a `String`.
  com.verisign.epp.codec.contact.EPPContactDisclose.ATTR_FLAG_TRUE Flag should not be get or set via a `String`.
  com.verisign.epp.codec.rgpext.EPPRgpExtReport.ELM_POST_WHOIS Use `ELM_POST_DATA`
  com.verisign.epp.codec.rgpext.EPPRgpExtReport.ELM_PRE_WHOIS Use `ELM_PRE_DATA`
  com.verisign.epp.codec.registry.EPPRegistryDomain.ELM_URGENT XML Element Name of `urgent` attribute.

- Deprecated Methods
  Method and Description
  com.verisign.epp.codec.registry.EPPRegistryZoneList.addTld(EPPRegistryZone) As of v1.2, use `EPPRegistryZoneList.addZone(EPPRegistryZone)`
  com.verisign.epp.codec.contact.EPPContactDisclose.getAddresses() Use `EPPContactDisclose.isAddrInt()` and `EPPContactDisclose.isAddrLoc()` instead.
  com.verisign.epp.codec.gen.EPPAuthInfo.getAuthInfo() Replaced by `EPPAuthInfo.getPassword()`.
  com.verisign.epp.codec.relateddomainext.EPPRelatedDomainExtAuthInfo.getAuthInfo() Replaced by `EPPRelatedDomainExtAuthInfo.getPassword()`.
  com.verisign.epp.codec.contact.EPPContactDisclose.getEmail() Use `EPPContactDisclose.isEmail()` instead.
  com.verisign.epp.codec.contact.EPPContactDisclose.getFax() Use `EPPContactDisclose.isFax()` instead.
  com.verisign.epp.codec.contact.EPPContactDisclose.getFlag()
  com.verisign.epp.codec.gen.EPPResponse.getMessageQueue() As of EPP 1.0, replaced with `EPPResponse.getMsgQueueCount()`
  com.verisign.epp.codec.contact.EPPContactDisclose.getNames() Use `EPPContactDisclose.isNameInt()` and `EPPContactDisclose.isNameLoc()` instead.
  com.verisign.epp.codec.contact.EPPContactDisclose.getOrgs() Use `EPPContactDisclose.isOrgInt()` and `EPPContactDisclose.isOrgLoc()` instead.
  com.verisign.epp.codec.rgpext.EPPRgpExtReport.getPostWhois() Use `EPPRgpExtReport.getPostData()`
  com.verisign.epp.codec.rgpext.EPPRgpExtReport.getPreWhois() Use `EPPRgpExtReport.getPreData()`
  com.verisign.epp.codec.gen.EPPResponse.getQDate() As of EPP 1.0, replaced with `EPPResponse.getMsgQueueDate()`
  com.verisign.epp.util.EPPEnv.getSSLKeyManager() With change to JDK 1.4
  com.verisign.epp.codec.contact.EPPContactDisclose.getVoice() Use `EPPContactDisclose.isVoice()` instead.
  com.verisign.epp.codec.gen.EPPResponse.hasMessageQueue() As of EPP 1.0, replaced with `EPPResponse.hasMsgQueue()`. This method will return `true` if a message queue object exists that has a non-`null` message count.
  com.verisign.epp.codec.domain.EPPDomainCheckResult.isKnown() As of EPP 1.0, replaced with `EPPDomainCheckResult.isAvailable()`.
  com.verisign.epp.codec.host.EPPHostCheckResult.isKnown() As of EPP 1.0, replaced with `EPPHostCheckResult.isAvailable()`.
  com.verisign.epp.codec.contact.EPPContactDisclose.setAddresses(Vector) Use `EPPContactDisclose.setAddrInt(boolean)` and `EPPContactDisclose.setAddrLoc(boolean)` instead.
  com.verisign.epp.codec.gen.EPPAuthInfo.setAuthInfo(String) Replaced by `EPPAuthInfo.setPassword(String)`.
  com.verisign.epp.codec.relateddomainext.EPPRelatedDomainExtAuthInfo.setAuthInfo(String) Replaced by `EPPRelatedDomainExtAuthInfo.setPassword(String)`.
  com.verisign.epp.codec.contact.EPPContactDisclose.setEmail(String) Use `EPPContactDisclose.setEmail(boolean)` instead.
  com.verisign.epp.codec.gen.EPPResponse.setExtension(EPPCodecComponent) Replaced by `EPPResponse.addExtension(EPPCodecComponent)`. This method will add the extension as is done in `EPPResponse.addExtension(EPPCodecComponent)`.
  com.verisign.epp.codec.gen.EPPCommand.setExtension(EPPCodecComponent) Replaced by `EPPCommand.addExtension(EPPCodecComponent)`. This method will add the extension as is done in `EPPCommand.addExtension(EPPCodecComponent)`.
  com.verisign.epp.interfaces.EPPNameWatch.setExtension(EPPCodecComponent) Replaced by `addExtension(EPPCodecComponent)`. This method will add the extension as is done in `addExtension(EPPCodecComponet)`.
  com.verisign.epp.interfaces.EPPHost.setExtension(EPPCodecComponent) Replaced by `EPPHost.addExtension(EPPCodecComponent)`. This method will add the extension as is done in `EPPHost.addExtension(EPPCodecComponent)`.
  com.verisign.epp.interfaces.EPPEmailFwd.setExtension(EPPCodecComponent) Replaced by `addExtension(EPPCodecComponent)`. This method will add the extension as is done in `addExtension(EPPCodecComponet)`.
  com.verisign.epp.interfaces.EPPDomain.setExtension(EPPCodecComponent) Replaced by `EPPDomain.addExtension(EPPCodecComponent)`. This method will add the extension as is done in `EPPDomain.addExtension(EPPCodecComponent)`.
  com.verisign.epp.interfaces.EPPDefReg.setExtension(EPPCodecComponent) Replaced by `EPPDefReg.addExtension(EPPCodecComponent)`. This method will add the extension as is done in `EPPDefReg.addExtension(EPPCodecComponent)`.
  com.verisign.epp.interfaces.EPPContact.setExtension(EPPCodecComponent) Replaced by `EPPContact.addExtension(EPPCodecComponent)`. This method will add the extension as is done in `EPPContact.addExtension(EPPCodecComponent)`.
  com.verisign.epp.codec.contact.EPPContactDisclose.setFax(String) Use `EPPContactDisclose.setFax(boolean)` instead.
  com.verisign.epp.codec.contact.EPPContactDisclose.setFlag(String) Use `EPPContactDisclose.setFlag(boolean)` instead.
  com.verisign.epp.codec.domain.EPPDomainCheckResult.setIsKnown(boolean) As of EPP 1.0, replaced with `EPPDomainCheckResult.setIsAvailable(boolean)` .
  com.verisign.epp.codec.host.EPPHostCheckResult.setIsKnown(boolean) As of EPP 1.0, replaced with `EPPHostCheckResult.setIsAvailable(boolean)`.
  com.verisign.epp.codec.contact.EPPContactDisclose.setNames(Vector) Use `EPPContactDisclose.setNameInt(boolean)` and `EPPContactDisclose.setNameLoc(boolean)` instead.
  com.verisign.epp.codec.contact.EPPContactDisclose.setOrgs(Vector) Use `EPPContactDisclose.setOrgInt(boolean)` and `EPPContactDisclose.setOrgLoc(boolean)` instead.
  com.verisign.epp.codec.rgpext.EPPRgpExtReport.setPostWhois(String) Use `EPPRgpExtReport.setPostData(String)`
  com.verisign.epp.codec.rgpext.EPPRgpExtReport.setPreWhois(String) Use `EPPRgpExtReport.setPreWhois(String)`
  com.verisign.epp.namestore.interfaces.NSDomain.setSecDNSUpdateForAdd(List, boolean) Supports secDNS-1.0 and secDNS-1.1, but use the secDNS-1.1 method `NSDomain.setSecDNSUpdate(List, List)`.
  com.verisign.epp.namestore.interfaces.NSDomain.setSecDNSUpdateForChg(List, boolean) Only supported with secDNS-1.0. Look to use the secDNS-1.1 method `NSDomain.setSecDNSUpdate(List, List)`.
  com.verisign.epp.namestore.interfaces.NSDomain.setSecDNSUpdateForRem(List, boolean) Supports secDNS-1.0 and secDNS-1.1, but use the secDNS-1.1 method `NSDomain.setSecDNSUpdate(List, List)`.
  com.verisign.epp.codec.rgpext.EPPRgpExtInfData.setStatus(EPPRgpExtStatus) `EPPRgpExtInfData.addStatus(EPPRgpExtStatus)`
  com.verisign.epp.codec.contact.EPPContactDisclose.setVoice(String) Use `EPPContactDisclose.setVoice(boolean)` instead.

Copyright © VeriSign Inc. All Rights Reserved.