public class MgmtData extends XMLElement implements KeyInfoData
| Constructor and Description |
|---|
MgmtData(org.w3c.dom.Element element)
Creates a new
MgmtData instance from the given Element node. |
MgmtData(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
MgmtData instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData()
Returns the string data for this MgmtData.
|
java.lang.String |
getType()
Returns the type URI that identifies the specific KeyInfoData subclass.
|
void |
setData(java.lang.String data)
Sets the string data for this MgmtData, replacing any existing value.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public MgmtData(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
MgmtData instance from the given Element node.element - An Element node in the XML document that conforms to the XML-DSIG MgmtData schema.org.w3c.dom.DOMException
public MgmtData(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
MgmtData instance from the given Element node.element - An Element node in the XML document that conforms to the XML-DSIG MgmtData schema.systemId - The URI string system ID for this element.org.w3c.dom.DOMExceptionXMLNode.setSystemId(java.lang.String)
public void setData(java.lang.String data)
throws org.w3c.dom.DOMException
data - The string data to be contained in the MgmtData element.org.w3c.dom.DOMExceptionpublic java.lang.String getData()
null if none is defined.public java.lang.String getType()
KeyInfoDataInterface XMLURI contains the KeyInfo data type URIs defined in the XML Signature and XML Encryption namespaces, including:
XMLURI.obj_DHKeyValueXMLURI.obj_DSAKeyValueXMLURI.obj_EncryptedKeyXMLURI.obj_KeyNameXMLURI.obj_MgmtDataXMLURI.obj_PGPDataXMLURI.obj_rawX509CertificateXMLURI.obj_RetrievalMethodXMLURI.obj_RSAKeyValueXMLURI.obj_SPKIDataXMLURI.obj_X509DatagetType in interface KeyInfoData