|
Oracle Security Developer Tools XKMS Java API Reference 11g (11.1.1) E10679-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.xkms.Message
oracle.security.xmlsec.xkms.Result
public class Result
Abstract base class for XKMS result messages. Represents the xkms:ResultType
element.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
Result(org.w3c.dom.Document owner) Creates a new Result instance. |
|
Result(org.w3c.dom.Document owner, java.lang.String systemId) Creates a new Result instance. |
|
Result(org.w3c.dom.Document owner, java.lang.String tagName, java.lang.String systemId) Creates a new Result instance. |
|
Result(org.w3c.dom.Element element) Creates a new Result instance. |
Method Summary | |
---|---|
java.lang.String |
getRequestID() Returns the value of the RequestID attribute for this message, or null if none is set. |
byte[] |
getRequestSignatureBytes() Returns the Request Signature bytes for this message or null if none are present. |
org.w3c.dom.Element |
getRequestSignatureValue() Returns the xkms:RequestSignatureValue element for this message or null if none are present. |
java.lang.String |
getResultMajor() Returns the value of the ResultMajor attribute for this message, or null if none is set. |
java.lang.String |
getResultMinor() Returns the value of the ResultMinor attribute for this message, or null if none is set. |
void |
setRequestID(java.lang.String requestID) Sets the RequestId attribute for this message. |
void |
setRequestSignatureValue(byte[] sigBytes, java.lang.String id) Set the RequestSignatureValue element for this message. |
void |
setResultCode(java.lang.String major, java.lang.String minor) Sets the ResultMajor and ResultMinor attributes for this message. |
Methods inherited from class oracle.security.xmlsec.xkms.Message |
---|
addMessageExtension, clearSignature, getId, getMessageExtensions, getNonce, getOpaqueClientData, getService, getSignature, insertChild, insertChild, removeChildren, setId, setNonce, setOpaqueClientData, setService, setSignature |
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 |
---|
public Result(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Result
instance.
element
- An Element node in the XML document.org.w3c.dom.DOMException
public Result(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
Result
instance.
owner
- The owner document of the new Result
.org.w3c.dom.DOMException
public Result(org.w3c.dom.Document owner, java.lang.String systemId) throws org.w3c.dom.DOMException
Result
instance.
owner
- The owner document of the new Result
.systemId
- The URI string system ID for the Message
.org.w3c.dom.DOMException
public Result(org.w3c.dom.Document owner, java.lang.String tagName, java.lang.String systemId) throws org.w3c.dom.DOMException
Result
instance.
owner
- The owner document of the new Result
.systemId
- The URI string system ID for the Message
.tagName
- The name of the element to be created; for example, "LocateResult" if this Result
is to be a X-KISS LocateResult mesage.org.w3c.dom.DOMException
Method Detail |
---|
public void setResultCode(java.lang.String major, java.lang.String minor) throws org.w3c.dom.DOMException
ResultMajor
and ResultMinor
attributes for this message.major
- The major component of the result code.minor
- The minor component of the result code.org.w3c.dom.DOMException
public java.lang.String getResultMajor()
ResultMajor
attribute for this message, or null
if none is set.public java.lang.String getResultMinor()
ResultMinor
attribute for this message, or null
if none is set.public void setRequestID(java.lang.String requestID) throws org.w3c.dom.DOMException
RequestId
attribute for this message.requestID
- A unique identifier generated by the requestor.org.w3c.dom.DOMException
public java.lang.String getRequestID()
RequestID
attribute for this message, or null
if none is set.public void setRequestSignatureValue(byte[] sigBytes, java.lang.String id) throws org.w3c.dom.DOMException
RequestSignatureValue
element for this message.sigBytes
- A byte array containing the signature.id
- An optional string ID name for this SignatureValue structure.org.w3c.dom.DOMException
public org.w3c.dom.Element getRequestSignatureValue()
xkms:RequestSignatureValue
element for this message or null
if none are present.RequestSignatureValue
instance.public byte[] getRequestSignatureBytes()
null
if none are present.
|
Oracle Security Developer Tools XKMS Java API Reference 11g (11.1.1) E10679-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |