com.waveset.object
Class SignedData
java.lang.Object
com.waveset.util.AbstractXmlObject
com.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.
Field Summary |
static java.lang.String |
ELEMENT
|
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 |
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
SignedData
public SignedData()
SignedData
public SignedData(org.w3c.dom.Element element)
throws WavesetException
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