public class ProofOfPossession extends XMLElement
ProofOfPossession element for use with requests and responses.| Constructor and Description |
|---|
ProofOfPossession(org.w3c.dom.Document owner)
Creates a new
ProofOfPossession instance. |
ProofOfPossession(org.w3c.dom.Document owner, java.lang.String systemId)
Creates a new
ProofOfPossession instance. |
ProofOfPossession(org.w3c.dom.Element element)
Creates a new
ProofOfPossession instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
XSSignature |
getSignature()
Returns the
XSSignature elemen or null if none is present. |
void |
setSignature(XSSignature signature)
Sets the ds:signature element for this
KeyBinding. |
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, toStringXMLpublic ProofOfPossession(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
ProofOfPossession instance from the given Element node.element - An Element node in the XML document that conforms to the XKMS ProofOfPossession schema.org.w3c.dom.DOMExceptionpublic ProofOfPossession(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
ProofOfPossession instance.owner - The owner document of the new ProofOfPossession.org.w3c.dom.DOMExceptionpublic ProofOfPossession(org.w3c.dom.Document owner,
java.lang.String systemId)
throws org.w3c.dom.DOMException
ProofOfPossession instance.owner - The owner document of the new ProofOfPossession.systemId - The URI string system ID for the Message..org.w3c.dom.DOMExceptionpublic void setSignature(XSSignature signature) throws org.w3c.dom.DOMException
KeyBinding.signature - A XSSignature value.org.w3c.dom.DOMExceptionpublic XSSignature getSignature()
XSSignature elemen or null if none is present.XSSignature value.