public class SignElement extends OpenPgpContentElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
ATTR_JID, ATTR_STAMP, ELEM_PAYLOAD, ELEM_TIME, ELEM_TO
Constructor and Description |
---|
SignElement(Set<org.jxmpp.jid.Jid> to,
Date timestamp,
List<ExtensionElement> payload) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
addCommonXml, ensureTimestampStringSet, getExtension, getExtension, getExtensions, getExtensions, getNamespace, getTimestamp, getTo, toInputStream
public static final String ELEMENT
public SignElement(Set<org.jxmpp.jid.Jid> to, Date timestamp, List<ExtensionElement> payload)
public String getElementName()
NamedElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element
enclosingNamespace
- the enclosing namespace or null
.