public class Authentication extends XMLElement
Authentication element for use with requests and responses.| Constructor and Description |
|---|
Authentication(org.w3c.dom.Document owner)
Creates a new
Authentication instance. |
Authentication(org.w3c.dom.Document owner, java.lang.String systemId)
Creates a new
Authentication instance. |
Authentication(org.w3c.dom.Element element)
Creates a new
Authentication instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
XSSignature |
getKeyBindingAuthentication()
Returns the value of the
KeyBindingAuthentication for this Authentication element or null if none is present. |
java.lang.String |
getNotBoundAuthenticationProtocol()
Returns the
setNotBoundAuthentication Protocol attribute. |
byte[] |
getNotBoundAuthenticationValue()
Returns the
setNotBoundAuthentication Value attribute. |
void |
setKeyBindingAuthentication(XSSignature signature)
Sets the
KeyBindingAuthentication element for this Authentication. |
void |
setNotBoundAuthentication(java.lang.String protocol, byte[] value)
Set the
setNotBoundAuthentication Element. |
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 Authentication(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
Authentication instance from the given Element node.element - An Element node in the XML document that conforms to the XKMS Authentication schema.org.w3c.dom.DOMException
public Authentication(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
Authentication instance.owner - The owner document of the new Authentication.org.w3c.dom.DOMException
public Authentication(org.w3c.dom.Document owner,
java.lang.String systemId)
throws org.w3c.dom.DOMException
Authentication instance.owner - The owner document of the new Authentication.systemId - The URI string system ID for the Message..org.w3c.dom.DOMExceptionpublic void setKeyBindingAuthentication(XSSignature signature) throws org.w3c.dom.DOMException
KeyBindingAuthentication element for this Authentication.signature - A dsig:Signature value.org.w3c.dom.DOMExceptionpublic XSSignature getKeyBindingAuthentication()
KeyBindingAuthentication for this Authentication element or null if none is present.XSSignature value.
public void setNotBoundAuthentication(java.lang.String protocol,
byte[] value)
throws org.w3c.dom.DOMException
setNotBoundAuthentication Element.protocol - A URI string that specifies the authentication protocol.value - A binary value corresponding to the specified authentication protocol. Base-64 encoding of the bytes is performed prior to setting the attribute value.org.w3c.dom.DOMExceptionpublic java.lang.String getNotBoundAuthenticationProtocol()
setNotBoundAuthentication Protocol attribute.NotBoundAuthentication Protocol attribute value URI.public byte[] getNotBoundAuthenticationValue()
setNotBoundAuthentication Value attribute.setNotBoundAuthentication Value attribute value after base-64 decoding.