Class PubkeyElement
java.lang.Object
org.jivesoftware.smackx.ox.element.PubkeyElement
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
Class representing a pubkey element which is used to transport OpenPGP public keys.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classElement that contains the base64 encoded public key. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the <data> element containing the base64 encoded public key.getDate()Date on which the key was last modified.Returns the root element name.Returns the root element XML namespace.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, getQName
-
Field Details
-
NAMESPACE
- See Also:
-
ELEMENT
- See Also:
-
ATTR_DATE
- See Also:
-
-
Constructor Details
-
PubkeyElement
-
-
Method Details
-
getDataElement
Return the <data> element containing the base64 encoded public key.- Returns:
- data element
-
getDate
Date on which the key was last modified.- Returns:
- last modification date
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
toXML
-