public class XEKeyInfo extends XSKeyInfo
XEEncryptedKey,
AgreementMethod,
KeyInfoData| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addKeyInfoData, createKeyName, createKeyValue, createKeyValue, createMgmtData, createMgmtData, createPGPData, createRetrievalMethod, createRetrievalMethod, createSPKIData, createSPKIData, createX509Data, createX509Data, getId, getKeyInfoData, getKeyNames, getKeyValues, getMgmtData, getPGPData, getRetrievalMethods, getSPKIData, getType, getX509Data, setIdaddNSPrefixAttr, 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 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.DOMExceptionpublic 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.DOMExceptionXMLNode.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.DOMExceptionpublic 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.DOMExceptionpublic 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.DOMExceptionpublic 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.DOMExceptionpublic 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.DOMExceptionpublic java.util.Vector getEncryptedKeys()
Vector of XEEncryptedKey instances.public java.util.Vector getAgreementMethods()
Vector of AgreementMethod instances.