Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


oracle.security.xmlsec.saml2.ac
Class KeySharing

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.KeySharing


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

Represents sharing of the private key with a Certificate Authority.


Field Summary

 

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

 

Constructor Summary
KeySharing(org.w3c.dom.Document doc, java.lang.String nsURI)
          Creates a new KeySharing instance.
KeySharing(org.w3c.dom.Document doc, java.lang.String nsURI, java.lang.String localName)
          Creates a new KeySharing instance.
KeySharing(org.w3c.dom.Element element)
          Creates a new KeyStorage instance from the given Element node.
KeySharing(org.w3c.dom.Element element, java.lang.String systemID)
          Creates a new KeySharing instance from the given Element node.

 

Method Summary
 boolean getSharing()
          Returns the sharing attribute.
 void setSharing(boolean sharing)
          Sets the sharing attribute.

 

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

KeySharing

public KeySharing(org.w3c.dom.Element element)
           throws org.w3c.dom.DOMException
Creates a new KeyStorage instance from the given Element node.
Parameters:
element - An KeySharing element.
Throws:
org.w3c.dom.DOMException

KeySharing

public KeySharing(org.w3c.dom.Element element,
                  java.lang.String systemID)
           throws org.w3c.dom.DOMException
Creates a new KeySharing instance from the given Element node.
Parameters:
element - An KeySharing element.
systemID - The URI string system ID for the KeySharing.
Throws:
org.w3c.dom.DOMException

KeySharing

public KeySharing(org.w3c.dom.Document doc,
                  java.lang.String nsURI)
           throws org.w3c.dom.DOMException
Creates a new KeySharing instance. This constructor is for use in subclass for extension of the KeySharing element.
Parameters:
doc - The owner document of the new KeySharing.
nsURI - The namespace URI in which the new KeySharing is to be created.
Throws:
org.w3c.dom.DOMException

KeySharing

public KeySharing(org.w3c.dom.Document doc,
                  java.lang.String nsURI,
                  java.lang.String localName)
           throws org.w3c.dom.DOMException
Creates a new KeySharing instance. This constructor is for use in subclass for extension of the KeySharing element.
Parameters:
doc - The owner document of the new KeySharing.
nsURI - The namespace URI in which the new KeySharing is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setSharing

public void setSharing(boolean sharing)
Sets the sharing attribute.
Parameters:
sharing - A boolean value.

getSharing

public boolean getSharing()
Returns the sharing attribute.
Returns:
A boolean value indicating whether the private key is shared with the CA.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-03


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