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 OpenPgpElement
fromStanza
(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, wait
Methods 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:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getQName
- Specified by:
getQName
in interfaceXmlElement
-
toXML
-
fromStanza
-