Skip navigation links

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

E10676-02


oracle.security.xmlsec.saml2.ac
Class PublicKeyType

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

Direct Known Subclasses:
AsymmetricDecryption, AsymmetricKeyAgreement, DigSig

public abstract class PublicKeyType
extends oracle.security.xmlsec.util.XMLElement

Represents that the Principal has been authenticated by a public key cryptography mechanism.


Field Summary

 

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

 

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

 

Method Summary
 void addExtension(Extension extn)
          Adds a schema extension.
 java.util.List getExtensions()
          Returns the schema extensions.
 java.lang.String getKeyValidation()
          Returns the key validation mechanism.
 void setKeyValidation(java.lang.String kv)
          Sets the key validation mechanism.

 

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

PublicKeyType

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

PublicKeyType

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

PublicKeyType

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

PublicKeyType

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

setKeyValidation

public void setKeyValidation(java.lang.String kv)
Sets the key validation mechanism.
Parameters:
kv - The key validation mechanism identifier.

getKeyValidation

public java.lang.String getKeyValidation()
Returns the key validation mechanism.
Returns:
The key validation mechanism identifier String.

addExtension

public void addExtension(Extension extn)
Adds a schema extension.
Parameters:
extn - 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 Security Developer Tools SAML 2.0 Java API Reference
11g (11.1.1)

E10676-02


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