Class EPPAuthTokenHeader
java.lang.Object
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenHeader
- All Implemented Interfaces:
Serializable
The
EPPAuthTokenHeader is the EPPCodecComponent that knows how
to encode and decode mfa element from/to XML and object instance.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance ofEPPAuthTokenHeaderEPPAuthTokenHeader(String aEncodedValue) Create a new instance ofEPPAuthTokenHeaderwith the optional system and domain data.EPPAuthTokenHeader(String aAlgorithm, String aKeyId) Create a new instance ofEPPAuthTokenHeaderwith the optional system and domain data.EPPAuthTokenHeader(String aAlgorithm, String aType, String aKeyId) Create a new instance ofEPPAuthTokenHeaderwith the optional system and domain data. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPAuthTokenHeader.voiddecode()Populate the data of this instance with the data from the given encoded headerencode()Return base64 encoded string representation of JWS headerbooleanimplements a deepEPPAuthTokenHeadercompare.getKeyId()getType()voidsetAlgorithm(String algorithm) voidvoidtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_ALGORITHM
XML local name forEPPAuthTokenHeader.- See Also:
-
ELM_TYPE
XML local name forEPPAuthTokenHeader.- See Also:
-
ELM_KEY_ID
XML local name forEPPAuthTokenHeader.- See Also:
-
-
Constructor Details
-
EPPAuthTokenHeader
public EPPAuthTokenHeader()Create a new instance ofEPPAuthTokenHeader -
EPPAuthTokenHeader
Create a new instance ofEPPAuthTokenHeaderwith the optional system and domain data.- Throws:
EPPDecodeException
-
EPPAuthTokenHeader
Create a new instance ofEPPAuthTokenHeaderwith the optional system and domain data. -
EPPAuthTokenHeader
Create a new instance ofEPPAuthTokenHeaderwith the optional system and domain data.
-
-
Method Details
-
encode
Return base64 encoded string representation of JWS header- Returns:
- base64 encoded string.
- Throws:
EPPEncodeException- Error encoding the header.
-
decode
Populate the data of this instance with the data from the given encoded header- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
equals
implements a deepEPPAuthTokenHeadercompare. -
clone
CloneEPPAuthTokenHeader.- Overrides:
clonein classObject- Returns:
- clone of
EPPAuthTokenHeader - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getAlgorithm
-
setAlgorithm
-
getType
-
setType
-
getKeyId
-
setKeyId
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-