Class SecretkeyElement
- java.lang.Object
-
- org.jivesoftware.smackx.ox.element.SecretkeyElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class SecretkeyElement extends Object implements ExtensionElement
This class represents a secretkey element which contains a users OpenPGP secret key.
-
-
Constructor Summary
Constructors Constructor Description SecretkeyElement(byte[] b64Data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getB64Data()
String
getElementName()
Returns the root element name.String
getNamespace()
Returns the root element XML namespace.XmlStringBuilder
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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SecretkeyElement
public SecretkeyElement(byte[] b64Data)
-
-
Method Detail
-
getB64Data
public byte[] getB64Data()
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-