com.waveset.object
Class SignedData

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.SignedData
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

public class SignedData
extends AbstractXmlObject

XmlObject model for the subset of the PKCS#7 signed data that we need. This is used as the payload generated by the TransactionSigner applet.


Nested Class Summary
static class SignedData.SignerInfo
           
 
Field Summary
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
SignedData()
           
SignedData(org.w3c.dom.Element element)
           
 
Method Summary
 java.util.List getCertificates()
           
 java.lang.String getElementName()
          Return the element name.
 byte[] getSignedContent()
           
 java.lang.String getSignedContentAsString()
           
 java.util.List getSignerInfos()
           
 void setCertificates(java.util.List certificates)
           
 void setSignedContent(byte[] content)
           
 void setSignedContentAsString(java.lang.String str)
           
 void setSignerInfos(java.util.List signerInfos)
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize into a buffer with optional indentation.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values
Constructor Detail

SignedData

public SignedData()

SignedData

public SignedData(org.w3c.dom.Element element)
           throws WavesetException
Method Detail

getSignedContent

public byte[] getSignedContent()

setSignedContent

public void setSignedContent(byte[] content)

getSignedContentAsString

public java.lang.String getSignedContentAsString()

setSignedContentAsString

public void setSignedContentAsString(java.lang.String str)

getSignerInfos

public java.util.List getSignerInfos()

setSignerInfos

public void setSignerInfos(java.util.List signerInfos)

getCertificates

public java.util.List getCertificates()

setCertificates

public void setCertificates(java.util.List certificates)

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Description copied from class: AbstractXmlObject
Serialize into a buffer with optional indentation. This must be implemented by the subclass.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject

getElementName

public java.lang.String getElementName()
Description copied from class: AbstractXmlObject
Return the element name.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject