Class SymmetricKeyHandler
java.lang.Object
org.apache.cxf.sts.token.provider.SymmetricKeyHandler
Some common functionality relating to parsing and generating Symmetric Keys.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreate the Symmetric Keybyte[]Get the Entropy byteslongGet the KeySize.byte[]Get the secretbooleanGet whether this is a computed key or not
-
Constructor Details
-
SymmetricKeyHandler
-
-
Method Details
-
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
-