Class CryptElement
- java.lang.Object
-
- org.jivesoftware.smackx.ox.element.OpenPgpContentElement
-
- org.jivesoftware.smackx.ox.element.EncryptedOpenPgpContentElement
-
- org.jivesoftware.smackx.ox.element.CryptElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class CryptElement extends EncryptedOpenPgpContentElement
This class describes an OpenPGP content element which is encrypted, but not signed.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT
-
Fields inherited from class org.jivesoftware.smackx.ox.element.EncryptedOpenPgpContentElement
ELEM_RPAD
-
Fields inherited from class org.jivesoftware.smackx.ox.element.OpenPgpContentElement
ATTR_JID, ATTR_STAMP, ELEM_PAYLOAD, ELEM_TIME, ELEM_TO
-
-
Constructor Summary
Constructors Constructor Description CryptElement(Set<? extends Jid> to, String rpad, Date timestamp, List<ExtensionElement> payload)
CryptElement(Set<? extends Jid> to, List<ExtensionElement> payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementName()
Returns the root element name.XmlStringBuilder
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class org.jivesoftware.smackx.ox.element.EncryptedOpenPgpContentElement
addCommonXml
-
Methods inherited from class org.jivesoftware.smackx.ox.element.OpenPgpContentElement
ensureTimestampStringSet, getExtension, getExtension, getExtensions, getExtensions, getNamespace, getTimestamp, getTo, toInputStream
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CryptElement
public CryptElement(Set<? extends Jid> to, String rpad, Date timestamp, List<ExtensionElement> payload)
-
CryptElement
public CryptElement(Set<? extends Jid> to, List<ExtensionElement> payload)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-