public class SubjectConfirmation
extends oracle.security.xmlsec.util.XMLElement
| Constructor and Description |
|---|
SubjectConfirmation(org.w3c.dom.Document owner)
Creates a new
SubjectConfirmation instance. |
SubjectConfirmation(org.w3c.dom.Element element)
Creates a new
SubjectConfirmation instance from the given Element node. |
SubjectConfirmation(org.w3c.dom.Element element,
java.lang.String SystemId)
Creates a new
SubjectConfirmation instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfirmationMethod(java.lang.String uri)
Adds the confirmation method that identifies the protocol
to be used to authenticate the subject.
|
java.util.List |
getConfirmationMethods()
Gets the list of protocols used for authenticating the subject,
as specified in the ConfirmationMethods child elements in this structure.
|
XSKeyInfo |
getKeyInfo()
Gets the
XSKeyInfo object specifying a key held by the subject. |
java.lang.String |
getSubjectConfirmationData()
Returns the additional informatuion authentication information specified
in the SubjectConfirmationData element or null if this element is not
specified.
|
void |
setKeyInfo(XSKeyInfo keyInfo)
Sets the ds:KeyInfo element which specifies a cryptographic key held by
the subject.
|
void |
setSubjectConfirmationData(java.lang.String value)
Sets the SubjectConfirmationData element which contains additional authentication
information to be used by a specific authentication protocol.
|
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 SubjectConfirmation(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
SubjectConfirmation instance from the given Element node.element - A SubjectConfirmation element.org.w3c.dom.DOMExceptionpublic SubjectConfirmation(org.w3c.dom.Element element,
java.lang.String SystemId)
throws org.w3c.dom.DOMException
SubjectConfirmation instance from the given Element node.element - A SubjectConfirmation element.SystemId - The URI string system ID for the SubjectConfirmation.org.w3c.dom.DOMExceptionpublic SubjectConfirmation(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
SubjectConfirmation instance.owner - The owner document of the new SubjectConfirmation.org.w3c.dom.DOMExceptionpublic void addConfirmationMethod(java.lang.String uri)
uri - A URI reference. Typically, one of the
authentication URIs defined in the SAMLURI
interface.public java.util.List getConfirmationMethods()
List containing String object representing
protocols or an empty List if none has been set.public void setSubjectConfirmationData(java.lang.String value)
value - Information used by a specific authentication protocol.public java.lang.String getSubjectConfirmationData()
public void setKeyInfo(XSKeyInfo keyInfo)
keyInfo - A XML DSIG XSKeyInfo object containing the information of
a key.public XSKeyInfo getKeyInfo()
XSKeyInfo object specifying a key held by the subject.XKeyInfo or null if none has been set.