public class BinarySecurity extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BASE64_ENCODING |
protected org.w3c.dom.Element |
element |
static javax.xml.namespace.QName |
TOKEN_BST |
static javax.xml.namespace.QName |
TOKEN_KI |
Constructor and Description |
---|
BinarySecurity(org.w3c.dom.Document doc)
Constructor.
|
BinarySecurity(org.w3c.dom.Element elem)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
getElement()
return the dom element.
|
String |
getEncodingType()
get the encoding type.
|
protected org.w3c.dom.Text |
getFirstNode()
return the first text node.
|
String |
getID()
get the id.
|
byte[] |
getToken()
get the byte array containing token information.
|
String |
getValueType()
get the value type.
|
void |
setEncodingType(String encoding)
set the encoding type.
|
void |
setID(String id)
set the id.
|
void |
setToken(byte[] data)
set the token information.
|
void |
setValueType(String type)
set the value type.
|
String |
toString()
return the string representation of the token.
|
public static final javax.xml.namespace.QName TOKEN_BST
public static final javax.xml.namespace.QName TOKEN_KI
public static final String BASE64_ENCODING
protected org.w3c.dom.Element element
public BinarySecurity(org.w3c.dom.Element elem) throws WSSecurityException
elem
- WSSecurityException
public BinarySecurity(org.w3c.dom.Document doc)
doc
- public String getValueType()
public void setValueType(String type)
type
- public String getEncodingType()
public void setEncodingType(String encoding)
encoding
- public byte[] getToken()
public void setToken(byte[] data)
data
- protected org.w3c.dom.Text getFirstNode()
public org.w3c.dom.Element getElement()
public String getID()
public void setID(String id)
id
- Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.