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 SecretKeyProtection

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

All Implemented Interfaces:
Protection

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

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


Field Summary

 

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

 

Constructor Summary
  SecretKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI)
          Creates a new SecretKeyProtection instance.
protected SecretKeyProtection(org.w3c.dom.Document doc, java.lang.String nsURI, java.lang.String localName)
          Creates a new SecretKeyProtection instance.
  SecretKeyProtection(org.w3c.dom.Element element)
          Creates a new SecretKeyProtection instance from the given Element node.
  SecretKeyProtection(org.w3c.dom.Element element, java.lang.String systemID)
          Creates a new SecretKeyProtection 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.
 KeyStorage getKeyStorage()
          Returns the key storage information.
 void setKeyActivation(KeyActivation ka)
          Sets the private key activation 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

SecretKeyProtection

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

SecretKeyProtection

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

SecretKeyProtection

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

SecretKeyProtection

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

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-03


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