Class OpenPgpElement
java.lang.Object
org.jivesoftware.smackx.ox.element.OpenPgpElement
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
Class that represents an OpenPGP message.
The content of this elements text is an base64 encoded , OpenPGP encrypted/signed content element (
SignElement,
SigncryptElement, CryptElement).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenPgpElementfromStanza(Stanza stanza) Returns the root element name.Return the OpenPGP encrypted payload.Returns the root element XML namespace.getQName()toXML(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
QNAME
-
-
Constructor Details
-
OpenPgpElement
-
-
Method Details
-
toInputStream
-
getEncryptedBase64MessageContent
Return the OpenPGP encrypted payload.- Returns:
- OpenPGP encrypted payload.
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
getQName
- Specified by:
getQNamein interfaceXmlElement
-
toXML
-
fromStanza
-