Skip navigation links

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

E10676-04


oracle.security.xmlsec.saml2.ac
Class PrivateKeyProtection

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

All Implemented Interfaces:
Protection

public class PrivateKeyProtection
extends oracle.security.xmlsec.util.XMLElement
implements Protection

Represents the types and strengths of facilities of a UA used to protect a private key from unauthorized access and/or use.


Field Summary

 

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

 

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

 

Method Summary
 void addExtension(Extension extension)
          Add a schema extension.
 java.util.List getExtensions()
          Returns the schema extensions.
 KeyActivation getKeyActivation()
          Returns the private key activation information.
 KeySharing getKeySharing()
          Returns the key sharing information.
 KeyStorage getKeyStorage()
          Returns the key storage information.
 void setKeyActivation(KeyActivation ka)
          Sets the private key activation information.
 void setKeySharing(KeySharing ksh)
          Sets the key sharing information.
 void setKeyStorage(KeyStorage ks)
          Sets the key storage information.

 

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

PrivateKeyProtection

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

PrivateKeyProtection

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

PrivateKeyProtection

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

PrivateKeyProtection

protected PrivateKeyProtection(org.w3c.dom.Document doc,
                               java.lang.String nsURI,
                               java.lang.String localName)
                        throws org.w3c.dom.DOMException
Creates a new PrivateKeyProtection instance. This constructor is for use in subclass for extension of the PrivateKeyProtection element.
Parameters:
doc - The owner document of the new PrivateKeyProtection.
nsURI - The namespace URI in which the new PrivateKeyProtection 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

setKeyActivation

public void setKeyActivation(KeyActivation ka)
Sets the private key activation information.
Parameters:
ka - The KeyActivation object.

getKeyActivation

public KeyActivation getKeyActivation()
Returns the private key activation information.
Returns:
The KeyActivation object or null if not present.

setKeyStorage

public void setKeyStorage(KeyStorage ks)
Sets the key storage information.
Parameters:
ks - The KeyStorage object.

getKeyStorage

public KeyStorage getKeyStorage()
Returns the key storage information.
Returns:
The KeyStorage object or null if not present.

setKeySharing

public void setKeySharing(KeySharing ksh)
Sets the key sharing information.
Parameters:
ksh - The KeySharing object.

getKeySharing

public KeySharing getKeySharing()
Returns the key sharing information.
Returns:
The KeySharing object or null if not present.

addExtension

public void addExtension(Extension extension)
Add a schema extension.
Parameters:
extension - The Extension Object.

getExtensions

public java.util.List getExtensions()
Returns the schema extensions.
Returns:
The List of Extension objects or null if not present.

Skip navigation links

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

E10676-04


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