|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
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.dsig.XSKeyInfo
oracle.security.xmlsec.enc.XEKeyInfo
public class XEKeyInfo
An XML-DSIG KeyInfo element extended to support the child types defined in XML Encryption.
XEEncryptedKey
, AgreementMethod
, KeyInfoData
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
XEKeyInfo(org.w3c.dom.Document owner) Creates a new XEKeyInfo instance. |
|
XEKeyInfo(org.w3c.dom.Document owner, java.lang.String id) Creates a new XEKeyInfo instance. |
|
XEKeyInfo(org.w3c.dom.Element element) Creates a new XEKeyInfo instance from the given Element node. |
|
XEKeyInfo(org.w3c.dom.Element element, java.lang.String systemId) Creates a new XEKeyInfo instance from the given Element node. |
Method Summary | |
---|---|
DHAgreementMethod |
createDHAgreementMethod() Create a new DHAgreementMethod instance. |
XEEncryptedKey |
createEncryptedKey() Create a new XEEncryptedKey instance. |
XEEncryptedKey |
createEncryptedKey(java.lang.String id) Create a new XEEncryptedKey instance with the given ID. |
java.util.Vector |
getAgreementMethods() Get the AgreementMethod instances whose underlining elements are children of this KeyInfo element. |
java.util.Vector |
getEncryptedKeys() Returns the XEEncryptedKey instances whose EncryptedKey elements are children of this ds:KeyInfo element. |
Methods inherited from class oracle.security.xmlsec.dsig.XSKeyInfo |
---|
addKeyInfoData, createKeyName, createKeyValue, createKeyValue, createMgmtData, createMgmtData, createPGPData, createRetrievalMethod, createRetrievalMethod, createSPKIData, createSPKIData, createX509Data, createX509Data, getId, getKeyInfoData, getKeyNames, getKeyValues, getMgmtData, getPGPData, getRetrievalMethods, getSPKIData, getType, getX509Data, setId |
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 XEKeyInfo(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
XEKeyInfo
instance from the given Element node.
element
- An XML-DSig KeyInfo elementorg.w3c.dom.DOMException
public XEKeyInfo(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
XEKeyInfo
instance from the given Element node.
element
- An XML-DSig KeyInfo elementsystemId
- The URI string system ID for this element.org.w3c.dom.DOMException
XMLNode.setSystemId(java.lang.String)
public XEKeyInfo(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
XEKeyInfo
instance.
owner
- The owner document of the new XEKeyInfo
.org.w3c.dom.DOMException
public XEKeyInfo(org.w3c.dom.Document owner, java.lang.String id) throws org.w3c.dom.DOMException
XEKeyInfo
instance.
owner
- The owner document of the new XEKeyInfo
.id
- An optional string ID name for this XEKeyInfo structure.org.w3c.dom.DOMException
Method Detail |
---|
public XEEncryptedKey createEncryptedKey() throws org.w3c.dom.DOMException
XEEncryptedKey
instance. To append this new XEEncryptedKey
to a KeyInfo
structure, use the method XSKeyInfo.addKeyInfoData(XMLElement)
.XEEncryptedKey
object.org.w3c.dom.DOMException
public XEEncryptedKey createEncryptedKey(java.lang.String id) throws org.w3c.dom.DOMException
XEEncryptedKey
instance with the given ID. To append this new XEEncryptedKey
to a KeyInfo
structure, use the method XSKeyInfo.addKeyInfoData(XMLElement)
.id
- An optional Id string for the EncryptedKey element.XEEncryptedKey
object.org.w3c.dom.DOMException
public DHAgreementMethod createDHAgreementMethod() throws org.w3c.dom.DOMException
DHAgreementMethod
instance. To append this new XEEncryptedKey
to a KeyInfo
structure, use the method XSKeyInfo.addKeyInfoData(XMLElement)
.DHAgreementMethod
object.org.w3c.dom.DOMException
public java.util.Vector getEncryptedKeys()
Vector
of XEEncryptedKey
instances.public java.util.Vector getAgreementMethods()
Vector
of AgreementMethod
instances.
|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |