anon.pay.xml
Class XMLChallenge
java.lang.Object
anon.pay.xml.XMLChallenge
- All Implemented Interfaces:
- IXMLEncodable
public class XMLChallenge
- extends java.lang.Object
- implements IXMLEncodable
Constructor Summary |
XMLChallenge(byte[] data)
Note: this does not parse XML, but sets the challenge byte-array directly... |
XMLChallenge(org.w3c.dom.Document doc)
|
XMLChallenge(org.w3c.dom.Element element)
XMLChallenge |
XMLChallenge(java.lang.String xml)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_arbChallenge
private byte[] m_arbChallenge
m_prepaidBytes
private int m_prepaidBytes
XML_ELEMENT_NAME
public static final java.lang.String XML_ELEMENT_NAME
- See Also:
- Constant Field Values
XMLChallenge
public XMLChallenge(java.lang.String xml)
throws java.lang.Exception
- Throws:
java.lang.Exception
XMLChallenge
public XMLChallenge(org.w3c.dom.Element element)
throws java.lang.Exception
- XMLChallenge
- Parameters:
element
- Element
- Throws:
java.lang.Exception
XMLChallenge
public XMLChallenge(org.w3c.dom.Document doc)
throws java.lang.Exception
- Throws:
java.lang.Exception
XMLChallenge
public XMLChallenge(byte[] data)
- Note: this does not parse XML, but sets the challenge byte-array directly...
setValues
private void setValues(org.w3c.dom.Element elemRoot)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPrepaidBytes
public int getPrepaidBytes()
getChallengeForSigning
public byte[] getChallengeForSigning()
getChallengeForCaptcha
public byte[] getChallengeForCaptcha()
toXmlElement
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
- Description copied from interface:
IXMLEncodable
- Return an element that can be appended to the document. This
Method must not change the document in any way!
- Specified by:
toXmlElement
in interface IXMLEncodable
- Parameters:
a_doc
- a document
- Returns:
- the interface as xml element