|
Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 2 (10.1.2.0.2) B15570-01 |
|||||||||
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.wss.WSSElement
oracle.security.xmlsec.wss.WSSBinarySecurityToken
Base class representing a WSS BinarySecurityToken.
Field Summary | |
protected static java.lang.String |
DEFAULT_ENCODING_TYPE Deprecated. |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
node, systemId |
Constructor Summary | |
protected |
WSSBinarySecurityToken(org.w3c.dom.Document owner, java.lang.String valType) Create a new WSSBinarySecurityToken instance. |
protected |
WSSBinarySecurityToken(org.w3c.dom.Document owner, java.lang.String valType, java.lang.String encType) Create a new WSSBinarySecurityToken instance. |
protected |
WSSBinarySecurityToken(org.w3c.dom.Element element) Create a new WSSBinarySecurityToken instance from the given XML element. |
protected |
WSSBinarySecurityToken(org.w3c.dom.Element element, java.lang.String systemId) Create a new WSSBinarySecurityToken instance from the given XML element. |
Method Summary | |
java.lang.String |
getEncodingType() Returns the encoding type attribute in this element or the default encoding type if not specified. |
abstract java.lang.Object |
getToken() Get the token contents. |
oracle.security.xmlsec.util.QName |
getTokenName() Returns the name of the Binary WSSecurity Token. |
byte[] |
getValue() Get the value of this token. |
java.lang.String |
getValueType() Returns the type of Binary WSSecurity Token. |
abstract void |
setToken(java.lang.Object token) Set the token contents. |
void |
setValue(byte[] tokenValue) Set the value of this token. |
Methods inherited from class oracle.security.xmlsec.wss.WSSElement |
getId, getWsuId, setId, setWsuId |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, 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 |
Methods inherited from interface oracle.security.xmlsec.wss.WSSecurityToken |
getNode |
Field Detail |
protected static final java.lang.String DEFAULT_ENCODING_TYPE
Constructor Detail |
protected WSSBinarySecurityToken(org.w3c.dom.Element element)
WSSBinarySecurityToken
instance from the given XML element.element
- A wsse:BinarySecurityToken element.protected WSSBinarySecurityToken(org.w3c.dom.Element element, java.lang.String systemId)
WSSBinarySecurityToken
instance from the given XML element.element
- A wsse:BinarySecurityToken element.systemId
- The URI string system ID for this element.protected WSSBinarySecurityToken(org.w3c.dom.Document owner, java.lang.String valType)
WSSBinarySecurityToken
instance.owner
- A XML Document to be used as the owner document of this structure.valType
- The QName
indicating the value type.protected WSSBinarySecurityToken(org.w3c.dom.Document owner, java.lang.String valType, java.lang.String encType)
WSSBinarySecurityToken
instance.owner
- A XML Document to be used as the owner document of this structure.valType
- The QName
indicating the value type.encType
- The QName
indicating the encoding type.Method Detail |
public java.lang.String getValueType()
public java.lang.String getEncodingType()
public void setValue(byte[] tokenValue)
Encoding will be performed during token creation.
tokenValue
- The raw bytes representing the binary token value.public byte[] getValue()
Decoding will be performed on the binary security token value..
public abstract void setToken(java.lang.Object token)
This method will be implemented in the sub-classes.
token
- The token object.public abstract java.lang.Object getToken() throws WSSException
This method will be implemented in the sub-classes.
getToken
in interface WSSecurityToken
WSSException
public oracle.security.xmlsec.util.QName getTokenName()
getTokenName
in interface WSSecurityToken
|
Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 2 (10.1.2.0.2) B15570-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |