public final class RegisterResult extends Result
| Constructor and Description |
|---|
RegisterResult(org.w3c.dom.Document owner)
Create a new
RegisterResult instance. |
RegisterResult(org.w3c.dom.Document owner, java.lang.String systemId)
Create a new
RegisterResult instance. |
RegisterResult(org.w3c.dom.Element element)
Creates a new
RegisterResult instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyBinding(KeyBinding keyInfo)
Adds a
xkms:KeyBinding child element to this message. |
java.util.List |
getKeyBindings()
Returns a list of the
xkms:KeyBinding child elements for this message or null if none are present. |
PrivateKey |
getPrivateKey()
Returns the
xkms:PrivateKey child element for this message or null if none is set. |
void |
setPrivateKey(PrivateKey privKey)
Sets the
xkms:PrivateKey child element for this message. |
getRequestID, getRequestSignatureBytes, getRequestSignatureValue, getResultMajor, getResultMinor, setRequestID, setRequestSignatureValue, setResultCodeaddMessageExtension, clearSignature, getId, getMessageExtensions, getNonce, getOpaqueClientData, getService, getSignature, insertChild, insertChild, removeChildren, setId, setNonce, setOpaqueClientData, setService, setSignatureaddNSPrefixAttr, 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, toStringXMLpublic RegisterResult(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
RegisterResult instance from the given Element node.element - An Element node in the XML document that conforms to the X-KRSS RegisterResult schema.org.w3c.dom.DOMExceptionpublic RegisterResult(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
RegisterResult instance.owner - The owner document of the new RegisterResult.org.w3c.dom.DOMExceptionpublic RegisterResult(org.w3c.dom.Document owner,
java.lang.String systemId)
throws org.w3c.dom.DOMException
RegisterResult instance.owner - The owner document of the new RegisterResult.systemId - The URI string system ID for the Message..org.w3c.dom.DOMExceptionpublic void addKeyBinding(KeyBinding keyInfo) throws org.w3c.dom.DOMException
xkms:KeyBinding child element to this message.keyInfo - A xkms:KeyBinding to carried by this RegisterResult message.org.w3c.dom.DOMExceptionpublic java.util.List getKeyBindings()
xkms:KeyBinding child elements for this message or null if none are present.KeyBinding instances.public void setPrivateKey(PrivateKey privKey) throws org.w3c.dom.DOMException
xkms:PrivateKey child element for this message.privKey - The xkms:PrivateKey carried by this RegisterRequest message.org.w3c.dom.DOMExceptionpublic PrivateKey getPrivateKey()
xkms:PrivateKey child element for this message or null if none is set.xkms:PrivateKey carried by this RegisterRequest message.