Skip navigation links

Oracle Security Developer Tools XKMS Java API Reference
11g (11.1.1)

E10679-02


oracle.security.xmlsec.xkms.xkrss
Class PrivateKey

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.xkms.xkrss.PrivateKey


public class PrivateKey
extends oracle.security.xmlsec.util.XMLElement

The XKMS PrivateKey element for use with requests and responses.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 oracle.security.xmlsec.enc.XEEncryptedData getEncryptedKeyData()
          Returns the value of the xenc:EncryptedData for this PrivateKey element or null if none is present.
 void setEncryptedKeyData(oracle.security.xmlsec.enc.XEEncryptedData xenc)
          Sets the PrivateKey element.

 

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

PrivateKey

public PrivateKey(org.w3c.dom.Element element)
           throws org.w3c.dom.DOMException
Creates a new PrivateKey instance from the given Element node.
Parameters:
element - An Element node in the XML document that conforms to the XKMS PrivateKey schema.
Throws:
org.w3c.dom.DOMException

PrivateKey

public PrivateKey(org.w3c.dom.Document owner)
           throws org.w3c.dom.DOMException
Creates a new PrivateKey instance.
Parameters:
owner - The owner document of the new PrivateKey.
Throws:
org.w3c.dom.DOMException

PrivateKey

public PrivateKey(org.w3c.dom.Document owner,
                  java.lang.String systemId)
           throws org.w3c.dom.DOMException
Creates a new PrivateKey instance.
Parameters:
owner - The owner document of the new PrivateKey.
systemId - The URI string system ID for the Message..
Throws:
org.w3c.dom.DOMException

Method Detail

setEncryptedKeyData

public void setEncryptedKeyData(oracle.security.xmlsec.enc.XEEncryptedData xenc)
                         throws org.w3c.dom.DOMException
Sets the PrivateKey element.
Parameters:
xenc - A xenc:EncryptedData.
Throws:
org.w3c.dom.DOMException

getEncryptedKeyData

public oracle.security.xmlsec.enc.XEEncryptedData getEncryptedKeyData()
Returns the value of the xenc:EncryptedData for this PrivateKey element or null if none is present.
Returns:
An XEEncryptedData value.

Skip navigation links

Oracle Security Developer Tools XKMS Java API Reference
11g (11.1.1)

E10679-02


Copyright © 2005, 2009, Oracle. All rights reserved.