public class SPKIData extends oracle.security.xmlsec.util.XMLElement implements KeyInfoData
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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
public SPKIData(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
SPKIData
instance
from the given Element node.element
- An Element node in the XML document that conforms to
the XML-DSIG SPKIData schema.org.w3c.dom.DOMException
public SPKIData(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
SPKIData
instance
from the given Element node.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.org.w3c.dom.DOMException
XMLNode.setSystemId(java.lang.String)
public void setSExpression(byte[] sExp) throws org.w3c.dom.DOMException
sExp
- The bytes of the SPKI S-expression to be contained in
the SPKIData
element.org.w3c.dom.DOMException
public byte[] getSExpression()
null
if none is defined.public java.lang.String getType()
KeyInfoData
Interface XMLURI
contains the KeyInfo data type URIs
defined in the XML Signature and XML Encryption namespaces, including:
XMLURI.obj_DHKeyValue
XMLURI.obj_DSAKeyValue
XMLURI.obj_EncryptedKey
XMLURI.obj_KeyName
XMLURI.obj_MgmtData
XMLURI.obj_PGPData
XMLURI.obj_rawX509Certificate
XMLURI.obj_RetrievalMethod
XMLURI.obj_RSAKeyValue
XMLURI.obj_SPKIData
XMLURI.obj_X509Data
getType
in interface KeyInfoData