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
Modifier and TypeClassDescriptionstatic class
Element that contains the base64 encoded public key. -
Field Summary
-
Constructor Summary
-
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, wait
Methods 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:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toXML
-