public class PrivateKey
extends oracle.security.xmlsec.util.XMLElement
PrivateKey element for use with requests and responses.| Constructor and Description |
|---|
PrivateKey(org.w3c.dom.Document owner)
Creates a new
PrivateKey instance. |
PrivateKey(org.w3c.dom.Document owner,
java.lang.String systemId)
Creates a new
PrivateKey instance. |
PrivateKey(org.w3c.dom.Element element)
Creates a new
PrivateKey instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
XEEncryptedData |
getEncryptedKeyData()
Returns the value of the
xenc:EncryptedData for this
PrivateKey element or null if none is present. |
void |
setEncryptedKeyData(XEEncryptedData xenc)
Sets the
PrivateKey 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, toStringXMLpublic PrivateKey(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
PrivateKey instance from the given Element node.element - An Element node in the XML document that conforms to
the XKMS PrivateKey schema.org.w3c.dom.DOMExceptionpublic PrivateKey(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
PrivateKey instance.owner - The owner document of the new PrivateKey.org.w3c.dom.DOMExceptionpublic PrivateKey(org.w3c.dom.Document owner,
java.lang.String systemId)
throws org.w3c.dom.DOMException
PrivateKey instance.owner - The owner document of the new PrivateKey.systemId - The URI string system ID for the Message..org.w3c.dom.DOMExceptionpublic void setEncryptedKeyData(XEEncryptedData xenc) throws org.w3c.dom.DOMException
PrivateKey element.xenc - A xenc:EncryptedData.org.w3c.dom.DOMExceptionpublic XEEncryptedData getEncryptedKeyData()
xenc:EncryptedData for this
PrivateKey element or null if none is present.XEEncryptedData value.