|
Oracle Security Developer Tools XKMS Java API Reference 11g (11.1.1) E10679-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.xkms.AbstractKeyBinding
public abstract class AbstractKeyBinding
Abstract XKMS KeyBindingAbstractType
element for use with requests and responses.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
AbstractKeyBinding(org.w3c.dom.Document owner, java.lang.String tagName) Creates a new AbstractKeyBinding instance. |
|
AbstractKeyBinding(org.w3c.dom.Document owner, java.lang.String tagName, java.lang.String systemId) Creates a new AbstractKeyBinding instance. |
|
AbstractKeyBinding(org.w3c.dom.Element element) Creates a new AbstractKeyBinding instance from the given Element node. |
Method Summary | |
---|---|
void |
addKeyUsage(java.lang.String keyUsage) Adds a KeyUsage code. |
void |
addUseKeyWith(java.lang.String application, java.lang.String identifier) Adds a UseKeyWith URI. |
java.lang.String |
getID() Returns the Id attribute value for this KeyBinding , or null if none is set. |
oracle.security.xmlsec.dsig.XSKeyInfo |
getKeyInfo() Returns the dsig:KeyInfo child element for this KeyBinding , or null if none is set. |
java.util.List |
getKeyUsages() Returns a list of KeyUsage values. |
java.util.List |
getUseKeyWithApplications() Returns a list of UseKeyWith Application URIs. |
java.util.List |
getUseKeyWithIdentifiers() Returns a list of UseKeyWith Identifier URIs. |
void |
setID(java.lang.String id) Sets the Id attribute for this KeyBinding . |
void |
setKeyInfo(oracle.security.xmlsec.dsig.XSKeyInfo keyInfo) Sets the dsig:KeyInfo child element for this KeyBinding . |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
---|
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, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
---|
appendChild, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractKeyBinding(org.w3c.dom.Document owner, java.lang.String tagName) throws org.w3c.dom.DOMException
AbstractKeyBinding
instance.
owner
- The owner document of the new AbstractKeyBinding
.tagName
- The name of the element to be created.org.w3c.dom.DOMException
public AbstractKeyBinding(org.w3c.dom.Document owner, java.lang.String tagName, java.lang.String systemId) throws org.w3c.dom.DOMException
AbstractKeyBinding
instance.
owner
- The owner document of the new AbstractKeyBinding
.tagName
- The name of the element to be created.systemId
- The URI string system ID for the Message
.org.w3c.dom.DOMException
public AbstractKeyBinding(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AbstractKeyBinding
instance from the given Element node.
element
- An Element node in the XML document that conforms to the XKMS AbstractKeyBinding schema.org.w3c.dom.DOMException
Method Detail |
---|
public void addKeyUsage(java.lang.String keyUsage) throws org.w3c.dom.DOMException
keyUsage
- A URI specifiying intended key usage.org.w3c.dom.DOMException
public void addUseKeyWith(java.lang.String application, java.lang.String identifier) throws org.w3c.dom.DOMException
UseKeyWith
URI.application
- A URI string that specifies the application protocol with which the key may be used.identifier
- A URI string that specifies the subject to which the key corresponds within the specified application protocol.org.w3c.dom.DOMException
public oracle.security.xmlsec.dsig.XSKeyInfo getKeyInfo()
dsig:KeyInfo
child element for this KeyBinding
, or null
if none is set.dsig:KeyInfo
for this KeyBinding
.public java.util.List getKeyUsages()
KeyUsage
values.List
of KeyUsage URIs.public java.util.List getUseKeyWithApplications()
UseKeyWith
Application
URIs.List
of application URI strings.public java.util.List getUseKeyWithIdentifiers()
UseKeyWith
Identifier
URIs.List
of URI strings.public void setID(java.lang.String id) throws org.w3c.dom.DOMException
Id
attribute for this KeyBinding
.id
- The value of the ID attribute.org.w3c.dom.DOMException
public java.lang.String getID()
Id
attribute value for this KeyBinding
, or null
if none is set.public void setKeyInfo(oracle.security.xmlsec.dsig.XSKeyInfo keyInfo) throws org.w3c.dom.DOMException
dsig:KeyInfo
child element for this KeyBinding
.keyInfo
- The dsig:KeyInfo
for this KeyBinding
.org.w3c.dom.DOMException
|
Oracle Security Developer Tools XKMS Java API Reference 11g (11.1.1) E10679-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |