org.apache.axis2.security.trust.token
Class Entropy

java.lang.Object
  extended byorg.apache.axis2.security.trust.token.AbstractToken
      extended byorg.apache.axis2.security.trust.token.CompositeToken
          extended byorg.apache.axis2.security.trust.token.Entropy

public class Entropy
extends CompositeToken


Field Summary
static QName TOKEN
           
 
Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken
factory, tokenElement, wstNamespace
 
Constructor Summary
Entropy()
           
Entropy(OMElement elem)
           
 
Method Summary
protected  void deserializeChildElement(OMElement element)
          This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token
 BinarySecret getBinarySecret()
           
protected  QName getToken()
           
 void setBinarySecret(String type, String secretValue)
          Sets the binary secret value
 
Methods inherited from class org.apache.axis2.security.trust.token.CompositeToken
setElementTextValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN

public static final QName TOKEN
Constructor Detail

Entropy

public Entropy()

Entropy

public Entropy(OMElement elem)
        throws TrustException
Parameters:
elem -
Throws:
TrustException
Method Detail

setBinarySecret

public void setBinarySecret(String type,
                            String secretValue)
Sets the binary secret value

Parameters:
type - The type uri of the binary secret as a String
secretValue - The binary secret value as a String

getBinarySecret

public BinarySecret getBinarySecret()

getToken

protected QName getToken()
Specified by:
getToken in class AbstractToken

deserializeChildElement

protected void deserializeChildElement(OMElement element)
                                throws TrustException
Description copied from class: AbstractToken
This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token

Specified by:
deserializeChildElement in class AbstractToken
Parameters:
element -
Throws:
TrustException