public final class RecoverResult extends Result
| Constructor and Description |
|---|
RecoverResult(org.w3c.dom.Document owner)
Create a new
RecoverResult instance. |
RecoverResult(org.w3c.dom.Document owner,
java.lang.String systemId)
Create a new
RecoverResult instance. |
RecoverResult(org.w3c.dom.Element element)
Creates a new
RecoverResult 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 RecoverResult(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
RecoverResult instance from the given Element node.element - An Element node in the XML document that conforms to
the X-KRSS RecoverResult schema.org.w3c.dom.DOMExceptionpublic RecoverResult(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
RecoverResult instance.owner - The owner document of the new RecoverResult.org.w3c.dom.DOMExceptionpublic RecoverResult(org.w3c.dom.Document owner,
java.lang.String systemId)
throws org.w3c.dom.DOMException
RecoverResult instance.owner - The owner document of the new RecoverResult.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
RecoverResult 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
RecoverRequest 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.