Apache CXF API

org.apache.cxf.sts.token.provider
Class SymmetricKeyHandler

java.lang.Object
  extended by org.apache.cxf.sts.token.provider.SymmetricKeyHandler

public class SymmetricKeyHandler
extends Object

Some common functionality relating to parsing and generating Symmetric Keys.


Constructor Summary
SymmetricKeyHandler(TokenProviderParameters tokenParameters)
           
 
Method Summary
 void createSymmetricKey()
          Create the Symmetric Key
 byte[] getEntropyBytes()
          Get the Entropy bytes
 long getKeySize()
          Get the KeySize.
 byte[] getSecret()
          Get the secret
 boolean isComputedKey()
          Get whether this is a computed key or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymmetricKeyHandler

public SymmetricKeyHandler(TokenProviderParameters tokenParameters)
Method Detail

createSymmetricKey

public void createSymmetricKey()
Create the Symmetric Key


getKeySize

public long getKeySize()
Get the KeySize.


getEntropyBytes

public byte[] getEntropyBytes()
Get the Entropy bytes


getSecret

public byte[] getSecret()
Get the secret


isComputedKey

public boolean isComputedKey()
Get whether this is a computed key or not


Apache CXF API

Apache CXF