Skip navigation links

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

E10680-05


oracle.security.xmlsec.keys
Class SPKIData

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.keys.SPKIData

All Implemented Interfaces:
KeyInfoData

public class SPKIData
extends XMLElement
implements KeyInfoData

XML-DSIG SPKIData element.

Since:
1.1

Field Summary

 

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

 

Constructor Summary
SPKIData(org.w3c.dom.Element element)
          Creates a new SPKIData instance from the given Element node.
SPKIData(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new SPKIData instance from the given Element node.

 

Method Summary
 byte[] getSExpression()
          Returns the SPKI S-expression for this SPKIData.
 java.lang.String getType()
          Returns the type URI that identifies the specific KeyInfoData subclass.
 void setSExpression(byte[] sExp)
          Sets the SPKI S-expression for this SPKIData, replacing any existing value.

 

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

SPKIData

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

SPKIData

public SPKIData(org.w3c.dom.Element element,
                java.lang.String systemId)
         throws org.w3c.dom.DOMException
Creates a new SPKIData instance from the given Element node.
Parameters:
element - An Element node in the XML document that conforms to the XML-DSIG SPKIData schema.
systemId - The URI string system ID for this element.
Throws:
org.w3c.dom.DOMException
Since:
2.0
See Also:
XMLNode.setSystemId(java.lang.String)

Method Detail

setSExpression

public void setSExpression(byte[] sExp)
                    throws org.w3c.dom.DOMException
Sets the SPKI S-expression for this SPKIData, replacing any existing value.
Parameters:
sExp - The bytes of the SPKI S-expression to be contained in the SPKIData element.
Throws:
org.w3c.dom.DOMException

getSExpression

public byte[] getSExpression()
Returns the SPKI S-expression for this SPKIData.
Returns:
A byte array, or null if none is defined.

getType

public java.lang.String getType()
Description copied from interface: KeyInfoData
Returns the type URI that identifies the specific KeyInfoData subclass.

Interface XMLURI contains the KeyInfo data type URIs defined in the XML Signature and XML Encryption namespaces, including:

Specified by:
getType in interface KeyInfoData

Skip navigation links

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

E10680-05


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