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.
- See Also:
-
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE
-
ELEMENT
-
ATTR_DATE
-
-
Constructor Details
-
PubkeyElement
-
-
Method Details
-
getDataElement
Return the <data> element containing the base64 encoded public key.- Returns:
- data element
-
getDate
-
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
-