Class BinarySecurity
java.lang.Object
org.apache.ws.security.message.token.BinarySecurity
- Direct Known Subclasses:
PKIPathSecurity, X509Security
Binary Security Token.
- Author:
- Davanum Srinivas (dims@yahoo.com)., Werner Dittmann (Werner.Dittmann@t-onile.de).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBinarySecurity(Document doc) Constructor.BinarySecurity(Element elem) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionreturn the dom element.get the encoding type.protected Textreturn the first text node.getID()get the id.byte[]getToken()get the byte array containing token information.get the value type.protected voidsetEncodingType(String encoding) set the encoding type.voidset the id.protected voidsetToken(byte[] data) set the token information.protected voidsetValueType(String type) set the value type.toString()return the string representation of the token.
-
Field Details
-
TOKEN_BST
-
TOKEN_KI
-
BASE64_ENCODING
- See Also:
-
element
-
-
Constructor Details
-
BinarySecurity
Constructor.- Parameters:
elem-- Throws:
WSSecurityException
-
BinarySecurity
-
-
Method Details
-
getValueType
-
setValueType
-
getEncodingType
-
setEncodingType
-
getToken
public byte[] getToken()get the byte array containing token information.- Returns:
- TODO
-
setToken
protected void setToken(byte[] data) set the token information.- Parameters:
data-
-
getFirstNode
-
getElement
-
getID
-
setID
-
toString
-