|
Oracle Security Developer Tools Web Services Security Java API Reference 11g (11.1.1) E10678-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.wss.WSSElement
oracle.security.xmlsec.wss.WSSBinarySecurityToken
public abstract class WSSBinarySecurityToken
Base class representing a WSS BinarySecurityToken.
| Field Summary | |
|---|---|
protected static java.lang.String |
DEFAULT_ENCODING_TYPEDeprecated. |
| 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. |
void |
setValueType(java.lang.String valueType)Sets the type of Binary WSSecurity 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, 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 |
| 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 void setValueType(java.lang.String valueType)
valueType - the value typepublic 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 WSSecurityTokenWSSExceptionpublic oracle.security.xmlsec.util.QName getTokenName()
getTokenName in interface WSSecurityToken
|
Oracle Security Developer Tools Web Services Security Java API Reference 11g (11.1.1) E10678-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||